Skip to content

Commit

Permalink
Replace bitwise operator with logical operator (#1398)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpalmer authored Jul 23, 2020
1 parent 4ef28b7 commit 8c3e3e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/Configuration/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ public function scanLocalConfigDir($force = false)
{
// Do not re-scan the directory if we don't need to.

if ( null === $this->localConfigDir | ($this->localDirectoryScanned && ! $force) ) {
if ( null === $this->localConfigDir || ($this->localDirectoryScanned && ! $force) ) {
return count($this->localConfigFiles);
}

Expand Down

0 comments on commit 8c3e3e0

Please sign in to comment.