Skip to content

Commit fa913ff

Browse files
committed
tis an interface
1 parent 9a841e1 commit fa913ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Internal/RClass.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function source(): ReflectionClass
5454

5555
public function isBackedEnum(): bool
5656
{
57-
return class_exists(BackedEnum::class) && $this->rc->implementsInterface(BackedEnum::class);
57+
return interface_exists(BackedEnum::class) && $this->rc->implementsInterface(BackedEnum::class);
5858
}
5959

6060
public function isEnum(): bool

0 commit comments

Comments
 (0)