Skip to content

Commit

Permalink
Clean up file to match changes in recent commits
Browse files Browse the repository at this point in the history
  • Loading branch information
settermjd committed Dec 10, 2024
1 parent 4d43eea commit 202bb4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Routes/Filter/RouteFilterOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace Mezzio\Tooling\Routes\Filter;

use function array_filter;
use function array_walk;
use function array_map;
use function get_object_vars;
use function in_array;
use function is_array;
Expand All @@ -28,7 +28,7 @@ public function __construct(
}

if (is_array($methods)) {
$this->methods = array_map(static fn (string $value): string => strtoupper($value), $methods);
$this->methods = array_map(static fn(string $value): string => strtoupper($value), $methods);
$this->methods = $methods;
}
}
Expand Down Expand Up @@ -66,7 +66,7 @@ public function getPath(): string|null
return $this->path;
}

public function getMethods(): array|string|null
public function getMethods(): array
{
return $this->methods;
}
Expand Down

0 comments on commit 202bb4b

Please sign in to comment.