Skip to content

Commit 2d771fb

Browse files
committed
fix for php 7.0
1 parent e27e025 commit 2d771fb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Tools/Utils.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ public static function getFullUrl(Route $route, array $bindings = []): string
1414
return self::replaceUrlParameterBindings($uri, $bindings);
1515
}
1616

17-
public static function getRouteActionUses(array $action): ?array
17+
/**
18+
* @param array $action
19+
* @return array|null
20+
*/
21+
public static function getRouteActionUses(array $action)
1822
{
1923
if ($action['uses'] !== null) {
2024
if (is_array($action['uses'])) {

0 commit comments

Comments
 (0)