@@ -52,8 +52,8 @@ discard block |
||
52 | 52 | protected function mapWebRoutes() |
53 | 53 | { |
54 | 54 | Route::middleware('web') |
55 | - ->namespace($this->namespace) |
|
56 | - ->group(base_path('routes/web.php')); |
|
55 | + ->namespace($this->namespace) |
|
56 | + ->group(base_path('routes/web.php')); |
|
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |
@@ -66,8 +66,8 @@ discard block |
||
66 | 66 | protected function mapApiRoutes() |
67 | 67 | { |
68 | 68 | Route::prefix('api') |
69 | - ->middleware('api') |
|
70 | - ->namespace($this->namespace) |
|
71 | - ->group(base_path('routes/api.php')); |
|
69 | + ->middleware('api') |
|
70 | + ->namespace($this->namespace) |
|
71 | + ->group(base_path('routes/api.php')); |
|
72 | 72 | } |
73 | 73 | } |
@@ -5,8 +5,7 @@ |
||
5 | 5 | use Illuminate\Support\Facades\Route; |
6 | 6 | use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; |
7 | 7 | |
8 | -class RouteServiceProvider extends ServiceProvider |
|
9 | -{ |
|
8 | +class RouteServiceProvider extends ServiceProvider { |
|
10 | 9 | /** |
11 | 10 | * This namespace is applied to your controller routes. |
12 | 11 | * |
@@ -2,8 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Bludata\Doctrine\Common\Contracts; |
4 | 4 | |
5 | -interface Repository |
|
6 | -{ |
|
5 | +interface Repository { |
|
7 | 6 | public function findAll(); |
8 | 7 | |
9 | 8 | public function findBy(array $filters): array; |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use DateTime; |
6 | 6 | |
7 | -interface Entity |
|
8 | -{ |
|
7 | +interface Entity { |
|
9 | 8 | public function getId(); |
10 | 9 | |
11 | 10 | public function getCreatedAt(): DateTime; |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Bludata\Doctrine\Common\Contracts\Repository; |
6 | 6 | |
7 | -abstract class BaseRepository implements Repository |
|
8 | -{ |
|
7 | +abstract class BaseRepository implements Repository { |
|
9 | 8 | |
10 | 9 | } |
11 | 10 |
@@ -11,8 +11,7 @@ |
||
11 | 11 | * @ORM\HasLifecycleCallbacks |
12 | 12 | * @Gedmo\SoftDeleteable(fieldName="deletedAt", timeAware=false) |
13 | 13 | */ |
14 | -abstract class BaseEntity implements Entity |
|
15 | -{ |
|
14 | +abstract class BaseEntity implements Entity { |
|
16 | 15 | /** |
17 | 16 | * @ORM\Id |
18 | 17 | * @ORM\Column(type="guid", name="id") |
@@ -6,8 +6,7 @@ |
||
6 | 6 | use Illuminate\Auth\AuthenticationException; |
7 | 7 | use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; |
8 | 8 | |
9 | -class Handler extends ExceptionHandler |
|
10 | -{ |
|
9 | +class Handler extends ExceptionHandler { |
|
11 | 10 | /** |
12 | 11 | * A list of the exception types that should not be reported. |
13 | 12 | * |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier; |
6 | 6 | |
7 | -class VerifyCsrfToken extends BaseVerifier |
|
8 | -{ |
|
7 | +class VerifyCsrfToken extends BaseVerifier { |
|
9 | 8 | /** |
10 | 9 | * The URIs that should be excluded from CSRF verification. |
11 | 10 | * |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Foundation\Http\Middleware\TrimStrings as BaseTrimmer; |
6 | 6 | |
7 | -class TrimStrings extends BaseTrimmer |
|
8 | -{ |
|
7 | +class TrimStrings extends BaseTrimmer { |
|
9 | 8 | /** |
10 | 9 | * The names of the attributes that should not be trimmed. |
11 | 10 | * |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter; |
6 | 6 | |
7 | -class EncryptCookies extends BaseEncrypter |
|
8 | -{ |
|
7 | +class EncryptCookies extends BaseEncrypter { |
|
9 | 8 | /** |
10 | 9 | * The names of the cookies that should not be encrypted. |
11 | 10 | * |