1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 06:55:56 +00:00

replace FALSE with false so that static analyzer shuts up about it

This commit is contained in:
Andrew Dolgov
2020-09-17 19:02:27 +03:00
parent 57fac84516
commit a4525d31b2
29 changed files with 63 additions and 63 deletions

View File

@@ -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) {