Use 5.3 syntax

This commit is contained in:
Barry vd. Heuvel
2015-03-17 16:11:01 +01:00
parent 74935df8a1
commit 2f90dbdfce
+4 -4
View File
@@ -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 ?>
]; );
} }