@@ -23,7 +23,7 @@ |
||
23 | 23 | header('404 Not Found', true, 404); |
24 | 24 | } catch(\LunixREST\Exceptions\AccessDeniedException $e){ |
25 | 25 | header('403 Access Denied', true, 403); |
26 | - } catch(\LunixREST\Exceptions\ThrottleLimitExceededException $e){ |
|
26 | + } catch(\LunixREST\Exceptions\ThrottleLimitExceededException $e){ |
|
27 | 27 | header('429 Too Many Requests', true, 429); |
28 | 28 | } catch(Exception|Error $e){ |
29 | 29 | header('500 Internal Server Error', true, 500); |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace LunixREST\Endpoint; |
3 | 3 | use Doctrine\ORM\EntityManager; |
4 | - |
|
5 | 4 | use LunixREST\Endpoint\Exceptions\UnknownEndpointException; |
6 | 5 | |
7 | 6 | class DoctrineNamespaceEndpointFactory extends NamespaceEndpointFactory { |