Skip to content

Commit e4d5c3f

Browse files
committed
refactore: updates phpstan to not treat doc types as certain
1 parent f87fcde commit e4d5c3f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

phpstan.neon.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ parameters:
22
level: max
33
paths:
44
- src
5+
treatPhpDocTypesAsCertain: false

src/Files/ValueObjects/MimeType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ public function isDocument(): bool
232232
*
233233
* @since n.e.x.t
234234
*
235-
* @param mixed $other The other MIME type to compare.
235+
* @param self|string $other The other MIME type to compare.
236236
* @return bool True if equal.
237237
*/
238238
public function equals($other): bool

0 commit comments

Comments
 (0)