Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion stubs/authorizer.stub
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down