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
---
inc/registrar/fields/Field.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/inc/registrar/fields/Field.php b/inc/registrar/fields/Field.php
index f24de84..3e48c14 100644
--- a/inc/registrar/fields/Field.php
+++ b/inc/registrar/fields/Field.php
@@ -59,7 +59,7 @@
foreach ($config as $key => $value) {
if (property_exists($class, $key)) {
- $method = 'set'.implode('',array_map('ucfirst',explode('_', $key)));;
+ $method = 'set'.implode('',array_map('ucfirst',explode('_', $key)));
$class->$method($value);
} else {
// error_log('Instance: '.print_r($class, true));
--
Gitblit v1.10.0