From a9654f00c8fbc9934289d761843ddd071025013f Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 28 Aug 2026 17:20:28 +0000
Subject: [PATCH] =PHPStorm Code Inspection: fixed class reference errors (from getting rid of JVB() and replacing with direct class::getInstance; as well as general code sniffing, etc

---
 templates/email/notification-digest.php |   19 ++++++-------------
 1 files changed, 6 insertions(+), 13 deletions(-)

diff --git a/templates/email/notification-digest.php b/templates/email/notification-digest.php
index 3837273..384e867 100644
--- a/templates/email/notification-digest.php
+++ b/templates/email/notification-digest.php
@@ -141,19 +141,12 @@
         <div class="section">
             <h2 class="section-title">
                 <?php
-                switch($type) {
-                    case 'artist_new_tattoo':
-                        echo "FRESH INK ↯";
-                        break;
-                    case 'artist_new_artwork':
-                        echo "NEW ART DROPS ⚡";
-                        break;
-                    case 'shop_update':
-                        echo "SHOP TALK";
-                        break;
-                    default:
-                        echo "SCENE NEWS";
-                }
+				echo match ($type) {
+	                'artist_new_tattoo' => "FRESH INK ↯",
+	                'artist_new_artwork' => "NEW ART DROPS ⚡",
+	                'shop_update' => "SHOP TALK",
+	                default => "SCENE NEWS",
+                };
                 ?>
             </h2>
 

--
Gitblit v1.10.0