Skip to content

Commit

Permalink
Resolve last Psalm-issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Jan 19, 2024
1 parent 08843d5 commit a32c24b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/php.yml
Expand Up @@ -82,7 +82,6 @@ jobs:
run: phpcs

- name: Psalm
continue-on-error: true
run: |
psalm -c psalm.xml \
--show-info=true \
Expand Down
2 changes: 1 addition & 1 deletion src/Controller/Authorize.php
Expand Up @@ -48,7 +48,7 @@ public function __construct(
public function forbidden(Request $request): Template
{
$stateId = $request->query->get('StateId', false);
if ($stateId === false) {
if (!is_string($stateId)) {
throw new Error\BadRequest('Missing required StateId query parameter.');
}

Expand Down

0 comments on commit a32c24b

Please sign in to comment.