Skip to content

Commit 13b5307

Browse files
committed
Add false and null to possible (magic) property filePath property type in IncomingMailAttachment
As the __get() method could also return null or false for the filePath property, these types should be added to the @Property annotation.
1 parent 93d5bcf commit 13b5307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpImap/IncomingMailAttachment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* @author Barbushin Sergey http://linkedin.com/in/barbushin
1616
*
17-
* @property string $filePath lazy attachment data file
17+
* @property string|false|null $filePath lazy attachment data file
1818
*
1919
* @psalm-type fileinfoconst = 0|2|16|1024|1040|8|32|128|256|16777216
2020
*/

0 commit comments

Comments
 (0)