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'); }