summaryrefslogtreecommitdiff
path: root/classes/pluginhost.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-09-17 19:02:27 +0300
committerAndrew Dolgov <[email protected]>2020-09-17 19:02:27 +0300
commita4525d31b2536bc8ad9da013f4ed5168fac87d0a (patch)
tree9ae00d19d362a74693800b45efbbf6ffaddcdbb9 /classes/pluginhost.php
parent57fac845166a2efa7244c61cce31442fc5600232 (diff)
replace FALSE with false so that static analyzer shuts up about it
Diffstat (limited to 'classes/pluginhost.php')
-rwxr-xr-xclasses/pluginhost.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/pluginhost.php b/classes/pluginhost.php
index c6c036783..acccea5db 100755
--- a/classes/pluginhost.php
+++ b/classes/pluginhost.php
@@ -155,7 +155,7 @@ class PluginHost {
foreach (array_keys($this->hooks[$type]) as $prio) {
$key = array_search($sender, $this->hooks[$type][$prio]);
- if ($key !== FALSE) {
+ if ($key !== false) {
unset($this->hooks[$type][$prio][$key]);
}
}
@@ -218,7 +218,7 @@ class PluginHost {
if (file_exists($vendor_dir)) {
spl_autoload_register(function($class) use ($vendor_dir) {
- if (strpos($class, '\\') !== FALSE) {
+ if (strpos($class, '\\') !== false) {
list ($namespace, $class_name) = explode('\\', $class, 2);
if ($namespace && $class_name) {