Zolotov Alexander 6 éve
szülő
commit
2d771fb46a
1 módosított fájl, 5 hozzáadás és 1 törlés
  1. 5 1
      src/Tools/Utils.php

+ 5 - 1
src/Tools/Utils.php

@@ -14,7 +14,11 @@ class Utils
         return self::replaceUrlParameterBindings($uri, $bindings);
     }
 
-    public static function getRouteActionUses(array $action): ?array
+    /**
+     * @param array $action
+     * @return array|null
+     */
+    public static function getRouteActionUses(array $action)
     {
         if ($action['uses'] !== null) {
             if (is_array($action['uses'])) {