Skip to content

Commit

Permalink
chore: fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alexislefebvre authored and soyuka committed Feb 3, 2023
1 parent 80aeb31 commit 1d08b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deprecation.php
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ class_alias($interfaceName, $oldInterfaceName);
];

spl_autoload_register(function ($className) use ($deprecatedInterfaces, $deprecatedClassesWithoutAliases, $deprecatedClassesWithAliases) {
// We can not class alias when working with doctrine annotations
// We can not use class alias when working with doctrine annotations
static $deprecatedAnnotations = [
'ApiResource' => [ApiPlatform\Core\Annotation\ApiResource::class, ApiPlatform\Metadata\ApiResource::class],
'ApiProperty' => [ApiPlatform\Core\Annotation\ApiProperty::class, ApiPlatform\Metadata\ApiProperty::class],
Expand Down

0 comments on commit 1d08b96

Please sign in to comment.