Improve exception handling and model binding
This commit is contained in:
parent
e9ca934cb4
commit
0fca80e7e4
22 changed files with 148 additions and 82 deletions
|
@ -12,7 +12,7 @@ class BookmarksController extends Controller
|
|||
/**
|
||||
* Show the most recent bookmarks.
|
||||
*
|
||||
* @return \Illuminate\View\View
|
||||
* @return View
|
||||
*/
|
||||
public function index(): View
|
||||
{
|
||||
|
@ -24,8 +24,8 @@ class BookmarksController extends Controller
|
|||
/**
|
||||
* Show a single bookmark.
|
||||
*
|
||||
* @param \App\Models\Bookmark $bookmark
|
||||
* @return \Illuminate\View\View
|
||||
* @param Bookmark $bookmark
|
||||
* @return View
|
||||
*/
|
||||
public function show(Bookmark $bookmark): View
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue