We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eb80b6 commit 4ef4947Copy full SHA for 4ef4947
src/MabeEnum/Enum.php
@@ -271,7 +271,7 @@ private static function detectConstants($class)
271
}
272
273
// This is required to make sure that constants of base classes will be the first
274
- while (($reflection = $reflection->getParentClass()) && $reflection->name != __CLASS__) {
+ while (($reflection = $reflection->getParentClass()) && $reflection->name !== __CLASS__) {
275
$constants = $reflection->getConstants() + $constants;
276
277
0 commit comments