Skip to content

Commit 2053665

Browse files
committed
another ecs fix
1 parent 23f3a7d commit 2053665

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TypeResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ public function addKeyword($keyword, $typeClassName)
290290
);
291291
}
292292

293-
if (!in_array(Type::class, class_implements($typeClassName))) {
293+
if (!in_array(Type::class, class_implements($typeClassName), true)) {
294294
throw new \InvalidArgumentException(
295295
'The class "' . $typeClassName . '" must implement the interface "phpDocumentor\Reflection\Type"'
296296
);

0 commit comments

Comments
 (0)