mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 10:07:12 +00:00
[PSR-12] Update param type array to use short array syntax (#828)
* Update Param type array to use short array syntax (PSR-12) * Update Param type array to use short array syntax (PSR-12)
This commit is contained in:
committed by
Barry vd. Heuvel
parent
d200f2284b
commit
51a72d7766
+1
-1
@@ -321,7 +321,7 @@ class Method
|
||||
if (is_bool($default)) {
|
||||
$default = $default ? 'true' : 'false';
|
||||
} elseif (is_array($default)) {
|
||||
$default = 'array()';
|
||||
$default = '[]';
|
||||
} elseif (is_null($default)) {
|
||||
$default = 'null';
|
||||
} elseif (is_int($default)) {
|
||||
|
||||
Reference in New Issue
Block a user