Skip to content

Commit

Permalink
fix: update lowercase HTTP methods in help message
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Nov 20, 2023
1 parent bfc2376 commit 109ddc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions system/Commands/Utilities/FilterCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class FilterCheck extends BaseCommand
* @var array<string, string>
*/
protected $arguments = [
'method' => 'The HTTP method. get, post, put, etc.',
'method' => 'The HTTP method. GET, POST, PUT, etc.',
'route' => 'The route (URI path) to check filters.',
];

Expand All @@ -76,8 +76,8 @@ public function run(array $params)
if (! isset($params[0], $params[1])) {
CLI::error('You must specify a HTTP verb and a route.');
CLI::write(' Usage: ' . $this->usage);
CLI::write('Example: filter:check get /');
CLI::write(' filter:check put products/1');
CLI::write('Example: filter:check GET /');
CLI::write(' filter:check PUT products/1');

return EXIT_ERROR;
}
Expand Down

0 comments on commit 109ddc4

Please sign in to comment.