Skip to content

Commit 5961d73

Browse files
helmroosAlexander Helmroos
and
Alexander Helmroos
authored
[Bugfix] Fix authorizer stub by adding missing method (#180)
Co-authored-by: Alexander Helmroos <[email protected]>
1 parent 175e2e8 commit 5961d73

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

stubs/authorizer.stub

+14-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,20 @@ class {{ class }} implements Authorizer
6969
}
7070

7171
/**
72-
* Authorize the show-related and show-relationship controller action.
72+
* Authorize the show-related controller action
73+
*
74+
* @param Request $request
75+
* @param object $model
76+
* @param string $fieldName
77+
* @return bool
78+
*/
79+
public function showRelated(Request $request, object $model, string $fieldName): bool
80+
{
81+
// TODO: Implement showRelated() method.
82+
}
83+
84+
/**
85+
* Authorize the show-relationship controller action.
7386
*
7487
* @param Request $request
7588
* @param object $model

0 commit comments

Comments
 (0)