Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
msmakouz committed Feb 27, 2024
1 parent bffab44 commit 82f937d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
name: cs

jobs:
phpunit:
cs:
uses: spiral/gh-actions/.github/workflows/cs.yml@master
with:
os: >-
Expand Down
2 changes: 1 addition & 1 deletion src/Config/SwaggerConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function getPaths(): array
/**
* @psalm-return array|non-empty-string|null
*/
public function getExclude(): null|array|string
public function getExclude(): array|string|null
{
return $this->config['exclude'] ?? null;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Generator/Merger.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ private static function getIndexedCollectionItem(

private static function searchIndexedCollectionItem(
array $collection,
int|null|string $member,
int|string|null $member,
mixed $value
): bool|int|string {
return array_search($value, array_column($collection, $member), true);
Expand Down
2 changes: 1 addition & 1 deletion src/Generator/Parser/OpenApiOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function __construct(
public readonly array|Finder|string $paths,
public readonly array $config,
public readonly ?string $version = null,
public readonly null|array|string $exclude = null,
public readonly array|string|null $exclude = null,
public readonly ?string $pattern = null,
) {
}
Expand Down

0 comments on commit 82f937d

Please sign in to comment.