@@ -7,8 +7,7 @@ discard block |
||
7 | 7 | * Class CachingEndpointFactory |
8 | 8 | * @package LunixREST\Endpoint |
9 | 9 | */ |
10 | -abstract class CachingEndpointFactory implements EndpointFactory |
|
11 | -{ |
|
10 | +abstract class CachingEndpointFactory implements EndpointFactory { |
|
12 | 11 | /** |
13 | 12 | * @var CacheItemPoolInterface |
14 | 13 | */ |
@@ -18,8 +17,7 @@ discard block |
||
18 | 17 | * CachingEndpointFactory constructor. |
19 | 18 | * @param CacheItemPoolInterface $cachePool |
20 | 19 | */ |
21 | - public function __construct(CacheItemPoolInterface $cachePool) |
|
22 | - { |
|
20 | + public function __construct(CacheItemPoolInterface $cachePool) { |
|
23 | 21 | $this->cachePool = $cachePool; |
24 | 22 | } |
25 | 23 |
@@ -8,8 +8,7 @@ discard block |
||
8 | 8 | * Class CachingLoggingEndpointFactory |
9 | 9 | * @package LunixREST\Endpoint |
10 | 10 | */ |
11 | -abstract class CachingLoggingEndpointFactory implements EndpointFactory |
|
12 | -{ |
|
11 | +abstract class CachingLoggingEndpointFactory implements EndpointFactory { |
|
13 | 12 | /** |
14 | 13 | * @var CacheItemPoolInterface |
15 | 14 | */ |
@@ -24,8 +23,7 @@ discard block |
||
24 | 23 | * @param CacheItemPoolInterface $cachePool |
25 | 24 | * @param LoggerInterface $logger |
26 | 25 | */ |
27 | - public function __construct(CacheItemPoolInterface $cachePool, LoggerInterface $logger) |
|
28 | - { |
|
26 | + public function __construct(CacheItemPoolInterface $cachePool, LoggerInterface $logger) { |
|
29 | 27 | $this->cachePool = $cachePool; |
30 | 28 | } |
31 | 29 |
@@ -8,8 +8,7 @@ discard block |
||
8 | 8 | * Class CachingEndpoint |
9 | 9 | * @package LunixREST\Endpoint |
10 | 10 | */ |
11 | -abstract class CachingLoggingEndpoint implements Endpoint |
|
12 | -{ |
|
11 | +abstract class CachingLoggingEndpoint implements Endpoint { |
|
13 | 12 | use LoggerAwareTrait; |
14 | 13 | |
15 | 14 | /** |
@@ -20,8 +19,7 @@ discard block |
||
20 | 19 | /** |
21 | 20 | * @param CacheItemPoolInterface $cacheItemPool |
22 | 21 | */ |
23 | - public function setCachePool(CacheItemPoolInterface $cacheItemPool) |
|
24 | - { |
|
22 | + public function setCachePool(CacheItemPoolInterface $cacheItemPool) { |
|
25 | 23 | $this->cachePool = $cacheItemPool; |
26 | 24 | } |
27 | 25 | } |
@@ -7,8 +7,7 @@ discard block |
||
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 |
||
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 |
@@ -7,8 +7,7 @@ discard block |
||
7 | 7 | * Class CachingEndpoint |
8 | 8 | * @package LunixREST\Endpoint |
9 | 9 | */ |
10 | -abstract class CachingEndpoint implements Endpoint |
|
11 | -{ |
|
10 | +abstract class CachingEndpoint implements Endpoint { |
|
12 | 11 | /** |
13 | 12 | * @var CacheItemPoolInterface |
14 | 13 | */ |
@@ -17,8 +16,7 @@ discard block |
||
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 | } |