Completed
Push — master ( 728b33...068584 )
by John
02:38
created
src/Server/HTTPServer.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -15,8 +15,7 @@  discard block
 block discarded – undo
15 15
 use Psr\Log\LoggerAwareTrait;
16 16
 use Psr\Log\LoggerInterface;
17 17
 
18
-class HTTPServer
19
-{
18
+class HTTPServer {
20 19
     use LoggerAwareTrait;
21 20
 
22 21
     /**
@@ -34,8 +33,7 @@  discard block
 block discarded – undo
34 33
      * @param RequestFactory $requestFactory
35 34
      * @param LoggerInterface $logger
36 35
      */
37
-    public function __construct(Server $server, RequestFactory $requestFactory, LoggerInterface $logger)
38
-    {
36
+    public function __construct(Server $server, RequestFactory $requestFactory, LoggerInterface $logger) {
39 37
         $this->server = $server;
40 38
         $this->requestFactory = $requestFactory;
41 39
         $this->logger = $logger;
@@ -65,8 +63,7 @@  discard block
 block discarded – undo
65 63
         }
66 64
     }
67 65
 
68
-    protected function handleAPIRequest(APIRequest $APIRequest, ResponseInterface $response)
69
-    {
66
+    protected function handleAPIRequest(APIRequest $APIRequest, ResponseInterface $response) {
70 67
         try {
71 68
             $APIResponse = $this->server->handleRequest($APIRequest);
72 69
 
Please login to merge, or discard this patch.
src/Endpoint/LoggingEndpoint.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Psr\Log\LoggerAwareTrait;
5 5
 
6
-abstract class LoggingEndpoint implements Endpoint
7
-{
6
+abstract class LoggingEndpoint implements Endpoint {
8 7
     use LoggerAwareTrait;
9 8
 }
Please login to merge, or discard this patch.
src/Endpoint/LoggingEndpointFactory.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,7 @@
 block discarded – undo
20 20
      * LoggingEndpointFactory constructor.
21 21
      * @param LoggerInterface $logger
22 22
      */
23
-    public function __construct(LoggerInterface $logger)
24
-    {
23
+    public function __construct(LoggerInterface $logger) {
25 24
         $this->logger = $logger;
26 25
     }
27 26
 
Please login to merge, or discard this patch.