Skip to content

Commit 0456557

Browse files
committed
Update Override.php
1 parent acdf6c5 commit 0456557

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Validators/Override.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@ public static function check(RequestInterface $request, Router $router)
1717

1818
$namespace = $namespaceModel->where('controller', $router->controllerName())->first();
1919

20-
if($namespace)
21-
{
20+
if ($namespace) {
2221
$requests = ($namespace->{config('RestServer')->configRestPetitionsTable}) ? $namespace->{config('RestServer')->configRestPetitionsTable} : [];
2322
}
24-
23+
2524

2625
if (!$requests) {
2726
return $response;

0 commit comments

Comments
 (0)