Skip to content

Commit 9d28b70

Browse files
committed
Update to satisfy phpstan
1 parent d4f1aae commit 9d28b70

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
"scripts": {
5858
"verify": [
5959
"vendor/bin/phpcs -p",
60-
"vendor/bin/phpunit --no-coverage --testdox"
60+
"vendor/bin/phpunit --no-coverage --testdox",
61+
"vendor/bin/phpstan --memory-limit=256M analyze -c phpstan.neon"
6162
],
6263
"tests": [
6364
"vendor/bin/phpunit --no-coverage"

src/Controller/Traits/TicketValidatorTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public function validate(
173173
}
174174

175175
/**
176-
* @param array|null $serviceTicket
176+
* @param array{'id': string}|null $serviceTicket
177177
*
178178
* @return ?string Message on failure, null on success
179179
*/

0 commit comments

Comments
 (0)