aboutsummaryrefslogtreecommitdiffstats
path: root/lib/unstable/Config/Lexicon/ConfigLexiconEntry.php
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2024-12-12 17:37:14 -0100
committerMaxence Lange <maxence@artificial-owl.com>2024-12-13 11:08:20 -0100
commit815991741d2001f7610047ef9627283037c1beec (patch)
tree6250d5998b5f4d1c13f00606c8a7634d12ed1886 /lib/unstable/Config/Lexicon/ConfigLexiconEntry.php
parent96586ba7095b3d955b093bc34d696654faa80252 (diff)
downloadnextcloud-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.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);
}
/**