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/SchemaOutput.php | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/inc/managers/SEO/render/SchemaOutput.php b/inc/managers/SEO/render/SchemaOutput.php
index 41ce0c8..30a9c02 100644
--- a/inc/managers/SEO/render/SchemaOutput.php
+++ b/inc/managers/SEO/render/SchemaOutput.php
@@ -30,7 +30,7 @@
$registrar = false;
if (is_front_page()) {
- $schema[] = $this->buildWebsiteSchema(true);
+ $schema[] = $this->buildWebsiteSchema();
$test = $this->buildOrganizationSchema();
if (!empty($test)) {
$schema[] = $test;
@@ -98,9 +98,7 @@
if (!is_front_page()) {
$website = SchemaHelper::getInstance()::schema('website');
if (!empty($website)) {
- if (JVB_TESTING) {
- Cache::for('websiteSchema')->flush();
- }
+
$website = Cache::for('websiteSchema')->remember(
'schema',
function () {
--
Gitblit v1.10.0