diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2024-12-12 17:37:14 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2024-12-13 11:08:20 -0100 |
commit | 815991741d2001f7610047ef9627283037c1beec (patch) | |
tree | 6250d5998b5f4d1c13f00606c8a7634d12ed1886 /lib/unstable/Config/Lexicon/ConfigLexiconEntry.php | |
parent | 96586ba7095b3d955b093bc34d696654faa80252 (diff) | |
download | nextcloud-server-feature/noid/config-lexicon.tar.gz nextcloud-server-feature/noid/config-lexicon.zip |
fix(lexicon): renaming and minor fixesfeature/noid/config-lexicon
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/unstable/Config/Lexicon/ConfigLexiconEntry.php')
-rw-r--r-- | lib/unstable/Config/Lexicon/ConfigLexiconEntry.php | 2 |
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); } /** |