Skip to content

Commit

Permalink
PHP CS Fixer - ordered_types (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis committed Oct 14, 2023
1 parent 036ea04 commit 0c29685
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/functions/aliases.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ function isCurrentDate(string $date, int $timeDiff = 300, string $message = ''):
}

function isAmount(
float|int|array|string $expected,
float|int|array|string $actual,
array|float|int|string $expected,
array|float|int|string $actual,
string $message = '',
float $allowableDiff = 0.03,
): void {
Expand All @@ -295,8 +295,8 @@ function isAmount(
}

function isNotAmount(
float|int|array|string $expected,
float|int|array|string $actual,
array|float|int|string $expected,
array|float|int|string $actual,
string $message = '',
float $allowableDiff = 0.03,
): void {
Expand Down
2 changes: 1 addition & 1 deletion src/functions/tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function openFile(string $path): ?string
*/
function httpRequest(
string $url,
array|string|null $args = null,
null|array|string $args = null,
string $method = Request::GET,
array $options = [],
): Response {
Expand Down

0 comments on commit 0c29685

Please sign in to comment.