mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
Use 5.3 syntax
This commit is contained in:
+4
-4
@@ -11,12 +11,12 @@
|
|||||||
/** @noinspection PhpIllegalArrayKeyTypeInspection */
|
/** @noinspection PhpIllegalArrayKeyTypeInspection */
|
||||||
/** @noinspection PhpUnusedLocalVariableInspection */
|
/** @noinspection PhpUnusedLocalVariableInspection */
|
||||||
/** @noinspection PhpUnnecessaryFullyQualifiedNameInspection */
|
/** @noinspection PhpUnnecessaryFullyQualifiedNameInspection */
|
||||||
$STATIC_METHOD_TYPES = [
|
$STATIC_METHOD_TYPES = array(
|
||||||
<?php foreach($methods as $method): ?>
|
<?php foreach($methods as $method): ?>
|
||||||
<?= $method ?>('') => [
|
<?= $method ?>('') => array(
|
||||||
<?php foreach($bindings as $abstract => $class): ?>
|
<?php foreach($bindings as $abstract => $class): ?>
|
||||||
'<?= $abstract ?>' instanceof \<?= $class ?>,
|
'<?= $abstract ?>' instanceof \<?= $class ?>,
|
||||||
<?php endforeach ?> ],
|
<?php endforeach ?> ),
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
];
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user