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/Template/Template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/namespace/Template') diff --git a/core/namespace/Template/Template.php b/core/namespace/Template/Template.php index 25034a2..4967a7f 100644 --- a/core/namespace/Template/Template.php +++ b/core/namespace/Template/Template.php @@ -27,7 +27,7 @@ class Template { # Get parameter #=============================================================================== public function get($name) { - return $this->parameters[$name] ?? NULL; + return $this->parameters[$name] ?? null; } #=============================================================================== -- cgit v1.2.3