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/managers/SEO/render/Traits/_Properties/byMonthWeekTrait.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/inc/managers/SEO/render/Traits/_Properties/byMonthWeekTrait.php b/inc/managers/SEO/render/Traits/_Properties/byMonthWeekTrait.php
index 78eba00..c0418ae 100644
--- a/inc/managers/SEO/render/Traits/_Properties/byMonthWeekTrait.php
+++ b/inc/managers/SEO/render/Traits/_Properties/byMonthWeekTrait.php
@@ -27,7 +27,7 @@
$byMonthWeek = array_filter($byMonthWeek,
function($week) {
if ($week === 0 || $week > 6) {
- error_log('[SEO] Invalid month number: '.$month);
+ error_log('[SEO] Invalid month number: '.$week);
return false;
}
return true;
--
Gitblit v1.10.0