We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -224,10 +224,10 @@ |
||
224 | 224 | // add the details_row button to the first column |
225 | 225 | if ($this->getOperationSetting('detailsRow')) { |
226 | 226 | $details_row_button = \View::make('crud::columns.inc.details_row_button') |
227 | - ->with('crud', $this) |
|
228 | - ->with('entry', $entry) |
|
229 | - ->with('row_number', $rowNumber) |
|
230 | - ->render(); |
|
227 | + ->with('crud', $this) |
|
228 | + ->with('entry', $entry) |
|
229 | + ->with('row_number', $rowNumber) |
|
230 | + ->render(); |
|
231 | 231 | $row_items[0] = $details_row_button.$row_items[0]; |
232 | 232 | } |
233 | 233 |
@@ -19,21 +19,21 @@ |
||
19 | 19 | { |
20 | 20 | // if the route is one in the verification process, do nothing |
21 | 21 | if (in_array($request->route()->getName(), ['verification.notice', 'verification.verify', 'verification.send'])) { |
22 | - return $next($request); |
|
22 | + return $next($request); |
|
23 | 23 | } |
24 | 24 | |
25 | - // the Laravel middleware needs the user resolver to be set with the backpack guard |
|
26 | - $userResolver = $request->getUserResolver(); |
|
27 | - $request->setUserResolver(function () use ($userResolver) { |
|
28 | - return $userResolver(backpack_guard_name()); |
|
29 | - }); |
|
25 | + // the Laravel middleware needs the user resolver to be set with the backpack guard |
|
26 | + $userResolver = $request->getUserResolver(); |
|
27 | + $request->setUserResolver(function () use ($userResolver) { |
|
28 | + return $userResolver(backpack_guard_name()); |
|
29 | + }); |
|
30 | 30 | |
31 | - try { |
|
32 | - $verifiedMiddleware = new (app('router')->getMiddleware()['verified'])(); |
|
33 | - } catch(Throwable) { |
|
34 | - throw new Exception('Missing "verified" alias middleware in App/Http/Kernel.php. More info: https://backpackforlaravel.com/docs/6.x/base-how-to#enable-email-verification-in-backpack-routes'); |
|
35 | - } |
|
31 | + try { |
|
32 | + $verifiedMiddleware = new (app('router')->getMiddleware()['verified'])(); |
|
33 | + } catch(Throwable) { |
|
34 | + throw new Exception('Missing "verified" alias middleware in App/Http/Kernel.php. More info: https://backpackforlaravel.com/docs/6.x/base-how-to#enable-email-verification-in-backpack-routes'); |
|
35 | + } |
|
36 | 36 | |
37 | - return $verifiedMiddleware->handle($request, $next); |
|
37 | + return $verifiedMiddleware->handle($request, $next); |
|
38 | 38 | } |
39 | 39 | } |