From 2b099b31566329e8b2993d1972e3330c7b2b6f8d Mon Sep 17 00:00:00 2001 From: Shift Date: Fri, 29 Aug 2025 02:54:50 +0000 Subject: [PATCH] Convert string references to `::class` PHP 5.5.9 adds the new static `class` property which provides the fully qualified class name. This is preferred over using strings for class names since the `class` property references are checked by PHP. --- config/mary.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/mary.php b/config/mary.php index f4f7554..06af61a 100644 --- a/config/mary.php +++ b/config/mary.php @@ -40,7 +40,7 @@ return [ */ 'components' => [ 'spotlight' => [ - 'class' => 'App\Support\Spotlight', + 'class' => App\Support\Spotlight::class, ], ], ];