Skip to content

Commit 074de0e

Browse files
Girgiasnicolas-grekas
authored andcommitted
Fix various bool-type coercions
1 parent beb9785 commit 074de0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PropertyAccessorBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public function disableMagicSet(): static
128128
*/
129129
public function isMagicCallEnabled(): bool
130130
{
131-
return (bool) ($this->magicMethods & PropertyAccessor::MAGIC_CALL);
131+
return $this->magicMethods & PropertyAccessor::MAGIC_CALL;
132132
}
133133

134134
/**

0 commit comments

Comments
 (0)