Skip to content

Commit c814cd9

Browse files
authored
Merge pull request #4 from lorindol/patch-1
Allow arrays of primitive types to be returned
2 parents 6db23ae + 38a3d50 commit c814cd9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

custom-standards/Flyeralarm/Sniffs/Docblock/ReturnTypeSniff.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ class ReturnTypeSniff implements Sniff
1616
'string',
1717
'float',
1818
'array',
19+
'bool[]',
20+
'int[]',
21+
'string[]',
22+
'float[]',
1923
'null'
2024
];
2125

0 commit comments

Comments
 (0)