aboutsummaryrefslogtreecommitdiffstats
path: root/lib/unstable/Config/Lexicon/ConfigLexiconEntry.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unstable/Config/Lexicon/ConfigLexiconEntry.php')
-rw-r--r--lib/unstable/Config/Lexicon/ConfigLexiconEntry.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unstable/Config/Lexicon/ConfigLexiconEntry.php b/lib/unstable/Config/Lexicon/ConfigLexiconEntry.php
index 68787f9000c..e6c6579881d 100644
--- a/lib/unstable/Config/Lexicon/ConfigLexiconEntry.php
+++ b/lib/unstable/Config/Lexicon/ConfigLexiconEntry.php
@@ -174,7 +174,7 @@ class ConfigLexiconEntry {
* @experimental 31.0.0
*/
public function isFlagged(int $flag): bool {
- return (bool)($flag & $this->getFlags());
+ return (($flag & $this->getFlags()) === $flag);
}
/**