diff --git a/stubs/authorizer.stub b/stubs/authorizer.stub index 80c8ae3..1cd9ba8 100644 --- a/stubs/authorizer.stub +++ b/stubs/authorizer.stub @@ -69,7 +69,20 @@ class {{ class }} implements Authorizer } /** - * Authorize the show-related and show-relationship controller action. + * Authorize the show-related controller action + * + * @param Request $request + * @param object $model + * @param string $fieldName + * @return bool + */ + public function showRelated(Request $request, object $model, string $fieldName): bool + { + // TODO: Implement showRelated() method. + } + + /** + * Authorize the show-relationship controller action. * * @param Request $request * @param object $model