@@ -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 | * |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use Illuminate\Foundation\Validation\ValidatesRequests; |
8 | 8 | use Illuminate\Foundation\Auth\Access\AuthorizesRequests; |
9 | 9 | |
10 | -class Controller extends BaseController |
|
11 | -{ |
|
10 | +class Controller extends BaseController { |
|
12 | 11 | use AuthorizesRequests, DispatchesJobs, ValidatesRequests; |
13 | 12 | } |