Update dependencies, and fix some tests

This commit is contained in:
Jonny Barnes 2020-10-10 19:44:17 +01:00
parent a48a7eab3a
commit 9e3cc19098
6 changed files with 4352 additions and 1060 deletions

View file

@ -64,7 +64,8 @@ class ArticlesController extends Controller
*/
public function onlyIdInUrl(int $idFromUrl): RedirectResponse
{
$realId = resolve(Numbers::class)->b60tonum($idFromUrl);
$realId = resolve(Numbers::class)->b60tonum((string) $idFromUrl);
try {
$article = Article::findOrFail($realId);
} catch (ModelNotFoundException $exception) {