From 61d72c88752a3fa91447d2a44ff563b2c4c1c11d Mon Sep 17 00:00:00 2001 From: Jaap Jansma Date: Sat, 28 Mar 2020 22:55:57 +0100 Subject: [PATCH] Update style warnings --- CRM/Api4/Services.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Api4/Services.php b/CRM/Api4/Services.php index 736866af6a..c00487df5f 100644 --- a/CRM/Api4/Services.php +++ b/CRM/Api4/Services.php @@ -83,7 +83,7 @@ class CRM_Api4_Services { $path = \CRM_Utils_File::addTrailingSlash(dirname($location)) . str_replace('\\', DIRECTORY_SEPARATOR, $namespace); try { $resource = new \Symfony\Component\Config\Resource\DirectoryResource($path, ';\.php$;'); - $addResource = false; + $addResource = FALSE; foreach (glob("$path*.php") as $file) { $matches = []; preg_match('/(\w*)\.php$/', $file, $matches); @@ -92,7 +92,7 @@ class CRM_Api4_Services { if ($serviceClass->isInstantiable()) { $definition = $container->register(str_replace('\\', '_', $serviceName), $serviceName); $definition->addTag($tag); - $addResource = true; + $addResource = TRUE; } } if ($addResource) { -- 2.25.1