From 2ac4bdca2ab38990f891371282a3a17af290e78f Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sun, 1 Dec 2024 18:09:09 +0100 Subject: PHP Keywords and types should be in lowercase Follow PSR-12 and use lowercase variants of PHP reserved keywords. See: https://www.php-fig.org/psr/psr-12/#25-keywords-and-types Find all uppercase occurrences of "or", "and", "null", "true" and "false" and change them to the lowercase variant. --- core/namespace/Factory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/namespace/Factory.php') diff --git a/core/namespace/Factory.php b/core/namespace/Factory.php index 779b890..e30895d 100644 --- a/core/namespace/Factory.php +++ b/core/namespace/Factory.php @@ -13,6 +13,6 @@ abstract class Factory implements FactoryInterface { # Gets an instance of a class from the runtime instance cache #=============================================================================== protected static function fetchInstance($identifier) { - return self::$storage[get_called_class()][$identifier] ?? FALSE; + return self::$storage[get_called_class()][$identifier] ?? false; } } -- cgit v1.2.3