OSDN Git Service

convert short array syntax to a php5.3+ compatible one
authorManuel Dalla Lana <endelwar@aregar.it>
Fri, 25 Sep 2015 07:22:40 +0000 (09:22 +0200)
committerManuel Dalla Lana <endelwar@aregar.it>
Fri, 25 Sep 2015 07:22:40 +0000 (09:22 +0200)
src/PHPRouter/RouteCollection.php

index 4535437..5e1b164 100755 (executable)
@@ -42,7 +42,7 @@ class RouteCollection extends \SplObjectStorage
      */
     public function all()
     {
-        $temp = [];
+        $temp = array();
         foreach ($this as $router) {
             $temp[] = $router;
         }