Skip to content

Commit

Permalink
Fix CS with PHP-CS-Fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
mpdude authored and github-actions[bot] committed Apr 26, 2024
1 parent d4e0296 commit 18ba743
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Doctrine/PolyglotListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ private function getCacheKey(string $class): string
{
if (str_contains($class, '@')) {
// anonymous class: replace all PSR6-reserved characters
return str_replace(["\0", '\\', '/', '@', ':', '{', '}', '(', ')'], '.', $class) . self::CACHE_SALT;
return str_replace(["\0", '\\', '/', '@', ':', '{', '}', '(', ')'], '.', $class).self::CACHE_SALT;
}

return str_replace('\\', '.', $class) . self::CACHE_SALT;
return str_replace('\\', '.', $class).self::CACHE_SALT;
}
}

0 comments on commit 18ba743

Please sign in to comment.