Skip to content

Commit 91fea1a

Browse files
committed
refactor: remove unnecessary $services assignment
1 parent 8b0752a commit 91fea1a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

system/Config/BaseService.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ class BaseService
167167
* A cache of other service classes we've found.
168168
*
169169
* @var array
170+
*
171+
* @deprecated 4.5.0 No longer used.
170172
*/
171173
protected static $services = [];
172174

@@ -335,7 +337,6 @@ protected static function buildServicesCache(): void
335337

336338
if ($classname !== Services::class) {
337339
self::$serviceNames[] = $classname;
338-
static::$services[] = new $classname();
339340
}
340341
}
341342
}

0 commit comments

Comments
 (0)