Completed
Push — master ( bf3347...4a47c7 )
by John
01:54
created
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   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@  discard block
 block discarded – undo
7 7
  * Class LoggingEndpointFactory
8 8
  * @package LunixREST\Endpoint
9 9
  */
10
-abstract class LoggingEndpointFactory implements EndpointFactory
11
-{
10
+abstract class LoggingEndpointFactory implements EndpointFactory {
12 11
     /**
13 12
      * @var LoggerInterface
14 13
      */
@@ -18,8 +17,7 @@  discard block
 block discarded – undo
18 17
      * LoggingEndpointFactory constructor.
19 18
      * @param LoggerInterface $logger
20 19
      */
21
-    public function __construct(LoggerInterface $logger)
22
-    {
20
+    public function __construct(LoggerInterface $logger) {
23 21
         $this->logger = $logger;
24 22
     }
25 23
 
Please login to merge, or discard this patch.
src/Endpoint/CachingEndpointFactory.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,8 +8,7 @@  discard block
 block discarded – undo
8 8
  * Class CachingEndpointFactory
9 9
  * @package LunixREST\Endpoint
10 10
  */
11
-abstract class CachingEndpointFactory extends LoggingEndpointFactory
12
-{
11
+abstract class CachingEndpointFactory extends LoggingEndpointFactory {
13 12
     /**
14 13
      * @var CacheItemPoolInterface
15 14
      */
@@ -20,8 +19,7 @@  discard block
 block discarded – undo
20 19
      * @param CacheItemPoolInterface $cachePool
21 20
      * @param LoggerInterface $logger
22 21
      */
23
-    public function __construct(CacheItemPoolInterface $cachePool, LoggerInterface $logger)
24
-    {
22
+    public function __construct(CacheItemPoolInterface $cachePool, LoggerInterface $logger) {
25 23
         $this->cachePool = $cachePool;
26 24
         parent::__construct($logger);
27 25
     }
Please login to merge, or discard this patch.
src/Endpoint/CachingEndpoint.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@  discard block
 block discarded – undo
7 7
  * Class CachingEndpoint
8 8
  * @package LunixREST\Endpoint
9 9
  */
10
-abstract class CachingEndpoint extends LoggingEndpoint
11
-{
10
+abstract class CachingEndpoint extends LoggingEndpoint {
12 11
     /**
13 12
      * @var CacheItemPoolInterface
14 13
      */
@@ -17,8 +16,7 @@  discard block
 block discarded – undo
17 16
     /**
18 17
      * @param CacheItemPoolInterface $cacheItemPool
19 18
      */
20
-    public function setCachePool(CacheItemPoolInterface $cacheItemPool)
21
-    {
19
+    public function setCachePool(CacheItemPoolInterface $cacheItemPool) {
22 20
         $this->cachePool = $cacheItemPool;
23 21
     }
24 22
 }
Please login to merge, or discard this patch.