@@ -3,8 +3,7 @@ |
||
3 | 3 | |
4 | 4 | use LunixREST\Endpoint\Exceptions\UnknownEndpointException; |
5 | 5 | |
6 | -interface EndpointFactory |
|
7 | -{ |
|
6 | +interface EndpointFactory { |
|
8 | 7 | /** |
9 | 8 | * @param string $name |
10 | 9 | * @param string $version |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace LunixREST\Endpoint\Exceptions; |
3 | 3 | |
4 | -class UnknownEndpointException extends \Exception |
|
5 | -{ |
|
4 | +class UnknownEndpointException extends \Exception { |
|
6 | 5 | |
7 | 6 | } |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace LunixREST\Endpoint\Exceptions; |
3 | 3 | |
4 | -class UnsupportedMethodException extends \Exception |
|
5 | -{ |
|
4 | +class UnsupportedMethodException extends \Exception { |
|
6 | 5 | |
7 | 6 | } |
@@ -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 ThrottleLimitExceededException extends \Exception |
|
5 | -{ |
|
4 | +class ThrottleLimitExceededException extends \Exception { |
|
6 | 5 | |
7 | 6 | } |
@@ -1,8 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace LunixREST\Configuration; |
3 | 3 | |
4 | -interface Configuration |
|
5 | -{ |
|
4 | +interface Configuration { |
|
6 | 5 | public function get($key); |
7 | 6 | |
8 | 7 | public function set($key); |