|
@@ -52,7 +52,7 @@ discard block |
|
|
block discarded – undo |
|
52
|
52
|
return true; |
|
53
|
53
|
} |
|
54
|
54
|
|
|
55
|
|
- private function resolveClassName(object|string|null $class): string |
|
|
55
|
+ private function resolveClassName(object | string | null $class): string |
|
56
|
56
|
{ |
|
57
|
57
|
$error = sprintf('$class passed to %s must be a valid class FQN or object.', __CLASS__); |
|
58
|
58
|
if (null === $class) { |
|
@@ -73,7 +73,7 @@ discard block |
|
|
block discarded – undo |
|
73
|
73
|
/** |
|
74
|
74
|
* @throws \ReflectionException |
|
75
|
75
|
*/ |
|
76
|
|
- protected function getClassAnnotationConfiguration(object|string|null $class, string $annotationClass): ?object |
|
|
76
|
+ protected function getClassAnnotationConfiguration(object | string | null $class, string $annotationClass): ?object |
|
77
|
77
|
{ |
|
78
|
78
|
$className = $this->resolveClassName($class); |
|
79
|
79
|
if (\array_key_exists($className, $this->configurationCache)) { |
Please login to merge, or discard this patch.