Skip to content

Commit f9b6432

Browse files
committed
QA: Consistency in imports
1 parent adcf604 commit f9b6432

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/php/lang/reflection/Type.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php namespace lang\reflection;
22

3-
use ArgumentCountError, TypeError, ReflectionClass, ReflectionException, ReflectionFunction, Throwable;
3+
use ArgumentCountError, TypeError, UnitEnum, ReflectionClass, ReflectionException, ReflectionFunction, Throwable;
44
use lang\{Reflection, Enum, XPClass, Value, VirtualProperty, IllegalArgumentException};
55

66
/**
@@ -54,7 +54,7 @@ public function kind(): Kind {
5454
return Kind::$INTERFACE;
5555
} else if ($this->reflect->isTrait()) {
5656
return Kind::$TRAIT;
57-
} else if ($this->reflect->isSubclassOf(Enum::class) || $this->reflect->isSubclassOf(\UnitEnum::class)) {
57+
} else if ($this->reflect->isSubclassOf(Enum::class) || $this->reflect->isSubclassOf(UnitEnum::class)) {
5858
return Kind::$ENUM;
5959
} else {
6060
return Kind::$CLASS;

0 commit comments

Comments
 (0)