Skip to content

Commit 38a3d50

Browse files
author
Martin Brotzeller
authored
Allow arrays of primitive types to be returned
1 parent 6bbaa30 commit 38a3d50

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)