From f963956ae7d1602701d5bb11b85bd94717d43f2e Mon Sep 17 00:00:00 2001 From: Freek Van der Herten Date: Sat, 31 Aug 2019 02:59:28 +0200 Subject: [PATCH] Update ErrorPageViewModel.php --- src/ErrorPage/ErrorPageViewModel.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/ErrorPage/ErrorPageViewModel.php b/src/ErrorPage/ErrorPageViewModel.php index 1891a18b..78d117eb 100644 --- a/src/ErrorPage/ErrorPageViewModel.php +++ b/src/ErrorPage/ErrorPageViewModel.php @@ -93,10 +93,7 @@ public function solutions(): array protected function shareEndpoint() { - // In L5.5 and 5.6 `action` doesn't accept callable syntax, so we crash. - // Swap back to the uglier syntax until 5.5 & 5.6 support is removed. - // The same change is not needed for telescope action call above as telescope - // min version is 5.7, so it's not an issue there. + // use string notation as L5.5 and L5.6 don't support array notation yet return action('\Facade\Ignition\Http\Controllers\ShareReportController'); }