@@ -10,12 +10,10 @@ |
||
10 | 10 | * Class DoctrineNamespaceEndpointFactory |
11 | 11 | * @package LunixREST\Endpoint |
12 | 12 | */ |
13 | -class DoctrineNamespaceEndpointFactory extends NamespaceEndpointFactory |
|
14 | -{ |
|
13 | +class DoctrineNamespaceEndpointFactory extends NamespaceEndpointFactory { |
|
15 | 14 | protected $entityManager; |
16 | 15 | |
17 | - public function __construct(string $endpointNamespace, EntityManager $em) |
|
18 | - { |
|
16 | + public function __construct(string $endpointNamespace, EntityManager $em) { |
|
19 | 17 | parent::__construct($endpointNamespace); |
20 | 18 | $this->entityManager = $em; |
21 | 19 | } |
@@ -9,8 +9,7 @@ |
||
9 | 9 | * Class Endpoint |
10 | 10 | * @package LunixREST\Endpoints |
11 | 11 | */ |
12 | -class DefaultEndpoint implements Endpoint |
|
13 | -{ |
|
12 | +class DefaultEndpoint implements Endpoint { |
|
14 | 13 | /** |
15 | 14 | * @param Request $request |
16 | 15 | * @return ResponseData |
@@ -9,8 +9,7 @@ |
||
9 | 9 | * Interface Endpoint |
10 | 10 | * @package LunixREST\Endpoints |
11 | 11 | */ |
12 | -interface Endpoint |
|
13 | -{ |
|
12 | +interface Endpoint { |
|
14 | 13 | /** |
15 | 14 | * @param Request $request |
16 | 15 | * @return ResponseData |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace LunixREST\Exceptions; |
3 | 3 | |
4 | -class InstanceNotFoundException extends \Exception |
|
5 | -{ |
|
4 | +class InstanceNotFoundException extends \Exception { |
|
6 | 5 | |
7 | 6 | } |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace LunixREST\Exceptions; |
3 | 3 | |
4 | -class InvalidAPIKeyException extends \Exception |
|
5 | -{ |
|
4 | +class InvalidAPIKeyException extends \Exception { |
|
6 | 5 | |
7 | 6 | } |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace LunixREST\Exceptions; |
3 | 3 | |
4 | -class AccessDeniedException extends \Exception |
|
5 | -{ |
|
4 | +class AccessDeniedException extends \Exception { |
|
6 | 5 | |
7 | 6 | } |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace LunixREST\Exceptions; |
3 | 3 | |
4 | -class INIParseException extends \Exception |
|
5 | -{ |
|
4 | +class INIParseException extends \Exception { |
|
6 | 5 | |
7 | 6 | } |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace LunixREST\Exceptions; |
3 | 3 | |
4 | -class ThrottleLimitExceededException extends \Exception |
|
5 | -{ |
|
4 | +class ThrottleLimitExceededException extends \Exception { |
|
6 | 5 | |
7 | 6 | } |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace LunixREST\Exceptions; |
3 | 3 | |
4 | -class INIKeyNotFoundException extends \Exception |
|
5 | -{ |
|
4 | +class INIKeyNotFoundException extends \Exception { |
|
6 | 5 | |
7 | 6 | } |