Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
guanguans authored and github-actions[bot] committed Mar 13, 2024
1 parent 0109703 commit 1ac403e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/CodeHandlers/RemoveTokensCodeHandler.php
Expand Up @@ -20,7 +20,7 @@ public function handle(string $code, callable $next, int ...$removedTokens): str
/**
* @param array<int, string>|string $token
*/
function (string $carry, $token) use ($removedTokens): string {
function (string $carry, array|string $token) use ($removedTokens): string {
if (\is_string($token)) {
return $carry.$token;
}
Expand Down
4 changes: 1 addition & 3 deletions tests/TestCase.php
Expand Up @@ -76,11 +76,9 @@ protected function finish(): void
}

/**
* @param mixed $app
*
* @return class-string[]
*/
protected function getPackageProviders($app): array
protected function getPackageProviders(mixed $app): array
{
return [
IdeHelperServiceProvider::class,
Expand Down

0 comments on commit 1ac403e

Please sign in to comment.