Skip to content

Commit d4ec13e

Browse files
committed
chore: Upgrade static analysis to level 5
1 parent 43b8f3a commit d4ec13e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
parameters:
2-
level: 4
2+
level: 5
33
treatPhpDocTypesAsCertain: false
44
paths:
55
- src

src/Featurevisor.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ class Featurevisor
2323
* sticky?: array<string, mixed>,
2424
* hooks?: array<array{
2525
* name: string,
26-
* before: Closure,
27-
* after: Closure,
28-
* bucketKey: Closure,
29-
* bucketValue: Closure
26+
* before?: Closure,
27+
* after?: Closure,
28+
* bucketKey?: Closure,
29+
* bucketValue?: Closure
3030
* }>
3131
* } $options
3232
* @return self

0 commit comments

Comments
 (0)