@@ -8,8 +8,7 @@ |
||
| 8 | 8 | * Interface EndpointFactory |
| 9 | 9 | * @package LunixREST\Endpoint |
| 10 | 10 | */ |
| 11 | -interface EndpointFactory |
|
| 12 | -{ |
|
| 11 | +interface EndpointFactory { |
|
| 13 | 12 | /** |
| 14 | 13 | * @param string $name |
| 15 | 14 | * @param string $version |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | * Class UnsupportedMethodException |
| 7 | 7 | * @package LunixREST\Endpoint\Exceptions |
| 8 | 8 | */ |
| 9 | -class UnsupportedMethodException extends \Exception |
|
| 10 | -{ |
|
| 9 | +class UnsupportedMethodException extends \Exception { |
|
| 11 | 10 | |
| 12 | 11 | } |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | * Class UnknownEndpointException |
| 7 | 7 | * @package LunixREST\Endpoint\Exceptions |
| 8 | 8 | */ |
| 9 | -class UnknownEndpointException extends \Exception |
|
| 10 | -{ |
|
| 9 | +class UnknownEndpointException extends \Exception { |
|
| 11 | 10 | |
| 12 | 11 | } |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | * Class MethodNotFoundException |
| 7 | 7 | * @package LunixREST\Server\Exceptions |
| 8 | 8 | */ |
| 9 | -class MethodNotFoundException extends \Exception |
|
| 10 | -{ |
|
| 9 | +class MethodNotFoundException extends \Exception { |
|
| 11 | 10 | |
| 12 | 11 | } |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | * Class InvalidAPIKeyException |
| 7 | 7 | * @package LunixREST\Server\Exceptions |
| 8 | 8 | */ |
| 9 | -class InvalidAPIKeyException extends \Exception |
|
| 10 | -{ |
|
| 9 | +class InvalidAPIKeyException extends \Exception { |
|
| 11 | 10 | |
| 12 | 11 | } |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | * Class ThrottleLimitExceededException |
| 7 | 7 | * @package LunixREST\Server\Exceptions |
| 8 | 8 | */ |
| 9 | -class ThrottleLimitExceededException extends \Exception |
|
| 10 | -{ |
|
| 9 | +class ThrottleLimitExceededException extends \Exception { |
|
| 11 | 10 | |
| 12 | 11 | } |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | * Class AccessDeniedException |
| 7 | 7 | * @package LunixREST\Server\Exceptions |
| 8 | 8 | */ |
| 9 | -class AccessDeniedException extends \Exception |
|
| 10 | -{ |
|
| 9 | +class AccessDeniedException extends \Exception { |
|
| 11 | 10 | |
| 12 | 11 | } |
@@ -9,8 +9,7 @@ |
||
| 9 | 9 | * Interface URLParser |
| 10 | 10 | * @package LunixREST\APIRequest\URLParser |
| 11 | 11 | */ |
| 12 | -interface URLParser |
|
| 13 | -{ |
|
| 12 | +interface URLParser { |
|
| 14 | 13 | /** |
| 15 | 14 | * Parses API request data out of a url |
| 16 | 15 | * @param UriInterface $uri |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | * Class InvalidRequestURLException |
| 7 | 7 | * @package LunixREST\APIRequest\URLParser\Exceptions |
| 8 | 8 | */ |
| 9 | -class InvalidRequestURLException extends \Exception |
|
| 10 | -{ |
|
| 9 | +class InvalidRequestURLException extends \Exception { |
|
| 11 | 10 | |
| 12 | 11 | } |