Update composer dependencies
This commit is contained in:
parent
58c179bef2
commit
3c0c375fbb
11 changed files with 127 additions and 122 deletions
|
@ -18,7 +18,7 @@ class ArticlesController extends Controller
|
|||
/**
|
||||
* Show all articles (with pagination).
|
||||
*/
|
||||
public function index(int $year = null, int $month = null): View
|
||||
public function index(?int $year = null, ?int $month = null): View
|
||||
{
|
||||
$articles = Article::where('published', '1')
|
||||
->date($year, $month)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue