From 8aa97dec0c737fe020620f030b638ceabd9b8661 Mon Sep 17 00:00:00 2001 From: Strubbl <97055+Strubbl@users.noreply.github.com> Date: Mon, 20 Jul 2020 23:22:16 +0200 Subject: [PATCH 1/3] Update HashidService.php fix php 7.4 requirement, which causes the error `ERROR: Array and string offset access syntax with curly braces is deprecated {"userId":1,"exception":"[object] (ErrorException(code: 0): Array and string offset access syntax with curly braces is deprecated at /var/www/ap p/Services/HashidService.php:24)` --- app/Services/HashidService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/HashidService.php b/app/Services/HashidService.php index d23c5c52d..81c15c24a 100644 --- a/app/Services/HashidService.php +++ b/app/Services/HashidService.php @@ -21,7 +21,7 @@ class HashidService { $shortcode = ''; while($id) { $id = ($id - ($r = $id % $base)) / $base; - $shortcode = $cmap{$r} . $shortcode; + $shortcode = $cmap[$r] . $shortcode; }; return $shortcode; }); @@ -47,4 +47,4 @@ class HashidService { return $id; } -} \ No newline at end of file +} From b7a6fe71b3bc4e052b958250178facdab4c3ce79 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 21 Jul 2020 09:34:55 -0600 Subject: [PATCH 2/3] Update nav, add alt attributes --- resources/views/layouts/partial/nav.blade.php | 6 +++++- resources/views/layouts/partial/noauthnav.blade.php | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/resources/views/layouts/partial/nav.blade.php b/resources/views/layouts/partial/nav.blade.php index aa1265fe7..a2a868699 100644 --- a/resources/views/layouts/partial/nav.blade.php +++ b/resources/views/layouts/partial/nav.blade.php @@ -1,7 +1,7 @@