Update Laravel Pint, fix files in codebase
This commit is contained in:
parent
672e724784
commit
6d6e719f52
64 changed files with 10 additions and 411 deletions
|
@ -14,10 +14,6 @@ class ArticlesController extends Controller
|
|||
{
|
||||
/**
|
||||
* Show all articles (with pagination).
|
||||
*
|
||||
* @param int|null $year
|
||||
* @param int|null $month
|
||||
* @return View
|
||||
*/
|
||||
public function index(int $year = null, int $month = null): View
|
||||
{
|
||||
|
@ -32,9 +28,6 @@ class ArticlesController extends Controller
|
|||
/**
|
||||
* Show a single article.
|
||||
*
|
||||
* @param int $year
|
||||
* @param int $month
|
||||
* @param string $slug
|
||||
* @return RedirectResponse|View
|
||||
*/
|
||||
public function show(int $year, int $month, string $slug)
|
||||
|
@ -58,9 +51,6 @@ class ArticlesController extends Controller
|
|||
/**
|
||||
* We only have the ID, work out post title, year and month
|
||||
* and redirect to it.
|
||||
*
|
||||
* @param string $idFromUrl
|
||||
* @return RedirectResponse
|
||||
*/
|
||||
public function onlyIdInUrl(string $idFromUrl): RedirectResponse
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue