@@ -8,12 +8,10 @@ |
||
8 | 8 | * Class DoctrineEndpoint |
9 | 9 | * @package LunixREST\Endpoints |
10 | 10 | */ |
11 | -class DoctrineEndpoint extends DefaultEndpoint |
|
12 | -{ |
|
11 | +class DoctrineEndpoint extends DefaultEndpoint { |
|
13 | 12 | protected $entityManager; |
14 | 13 | |
15 | - public function __construct(EntityManager $em) |
|
16 | - { |
|
14 | + public function __construct(EntityManager $em) { |
|
17 | 15 | $this->entityManager = $em; |
18 | 16 | } |
19 | 17 | } |
@@ -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 | } |