Skip to content

Commit 35ce328

Browse files
authored
fixed class import (#346)
1 parent b522090 commit 35ce328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Application/UI/ComponentReflection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public static function parseAnnotation(\Reflector $ref, string $name): ?array
173173
'crossOrigin' => '#[Nette\Application\Attributes\Request(sameOrigin: false)]',
174174
default => 'alternative'
175175
};
176-
trigger_error("Annotation @$name is deprecated, use $alt (used in " . Nette\Utils\Reflection::toString($ref) . ')', E_USER_DEPRECATED);
176+
trigger_error("Annotation @$name is deprecated, use $alt (used in " . Reflection::toString($ref) . ')', E_USER_DEPRECATED);
177177
return $res;
178178
}
179179

0 commit comments

Comments
 (0)