Skip to content

Commit 8c6c585

Browse files
committed
remove type hint
1 parent 1b80e89 commit 8c6c585

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Illuminate/Foundation/helpers.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -941,8 +941,9 @@ function storage_path($path = ''): string
941941
* @param mixed $parameters
942942
* @param int $status
943943
* @param array $headers
944+
* @return \Illuminate\Http\RedirectResponse
944945
*/
945-
function to_action($action, $parameters = [], $status = 302, $headers = []): RedirectResponse
946+
function to_action($action, $parameters = [], $status = 302, $headers = [])
946947
{
947948
return redirect()->action($action, $parameters, $status, $headers);
948949
}
@@ -956,8 +957,9 @@ function to_action($action, $parameters = [], $status = 302, $headers = []): Red
956957
* @param mixed $parameters
957958
* @param int $status
958959
* @param array $headers
960+
* @return \Illuminate\Http\RedirectResponse
959961
*/
960-
function to_route($route, $parameters = [], $status = 302, $headers = []): RedirectResponse
962+
function to_route($route, $parameters = [], $status = 302, $headers = [])
961963
{
962964
return redirect()->route($route, $parameters, $status, $headers);
963965
}

0 commit comments

Comments
 (0)