8000 improve typehints on authorizes requests resource methods (#55706) · laravel/framework@28704dd · GitHub
[go: up one dir, main page]

Skip to content

Commit 28704dd

Browse files
authored
improve typehints on authorizes requests resource methods (#55706)
1 parent bcfa7c3 commit 28704dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Foundation/Auth/Access/AuthorizesRequests.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function authorizeResource($model, $parameter = null, array $options = []
108108
/**
109109
* Get the map of resource methods to ability names.
110110
*
111-
* @return array
111+
* @return array<string, string>
112112
*/
113113
protected function resourceAbilityMap()
114114
{
@@ -126,7 +126,7 @@ protected function resourceAbilityMap()
126126
/**
127127
* Get the list of resource methods which do not have model parameters.
128128
*
129-
* @return array
129+
* @return list<string>
130130
*/
131131
protected function resourceMethodsWithoutModels()
132132
{

0 commit comments

Comments
 (0)
0