@@ -5,7 +5,7 @@ discard block |
||
| 5 | 5 | * For the full copyright and license information, please view the LICENSE |
| 6 | 6 | * file that was distributed with this source code. |
| 7 | 7 | */ |
| 8 | -declare(strict_types=1); |
|
| 8 | +declare(strict_types = 1); |
|
| 9 | 9 | |
| 10 | 10 | namespace Railt\Storage; |
| 11 | 11 | |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | */ |
| 45 | 45 | public function remember(Readable $readable, \Closure $then) |
| 46 | 46 | { |
| 47 | - return $this->front->remember($readable, function (Readable $readable) use ($then) { |
|
| 47 | + return $this->front->remember($readable, function(Readable $readable) use ($then) { |
|
| 48 | 48 | return $this->fallback->remember($readable, $then); |
| 49 | 49 | }); |
| 50 | 50 | } |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | * For the full copyright and license information, please view the LICENSE |
| 6 | 6 | * file that was distributed with this source code. |
| 7 | 7 | */ |
| 8 | -declare(strict_types=1); |
|
| 8 | +declare(strict_types = 1); |
|
| 9 | 9 | |
| 10 | 10 | namespace Railt\Storage; |
| 11 | 11 | |
@@ -5,7 +5,7 @@ discard block |
||
| 5 | 5 | * For the full copyright and license information, please view the LICENSE |
| 6 | 6 | * file that was distributed with this source code. |
| 7 | 7 | */ |
| 8 | -declare(strict_types=1); |
|
| 8 | +declare(strict_types = 1); |
|
| 9 | 9 | |
| 10 | 10 | namespace Railt\Storage\Drivers; |
| 11 | 11 | |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | { |
| 33 | 33 | $key = $readable->getHash(); |
| 34 | 34 | |
| 35 | - if (! \array_key_exists($key, $this->storage)) { |
|
| 35 | + if (!\array_key_exists($key, $this->storage)) { |
|
| 36 | 36 | $this->storage[$key] = $this->encode($then($readable)); |
| 37 | 37 | } |
| 38 | 38 | |
@@ -5,7 +5,7 @@ discard block |
||
| 5 | 5 | * For the full copyright and license information, please view the LICENSE |
| 6 | 6 | * file that was distributed with this source code. |
| 7 | 7 | */ |
| 8 | -declare(strict_types=1); |
|
| 8 | +declare(strict_types = 1); |
|
| 9 | 9 | |
| 10 | 10 | namespace Railt\Storage\Drivers; |
| 11 | 11 | |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | { |
| 32 | 32 | $key = $readable->getHash(); |
| 33 | 33 | |
| 34 | - if (! \array_key_exists($key, $this->storage)) { |
|
| 34 | + if (!\array_key_exists($key, $this->storage)) { |
|
| 35 | 35 | $this->storage[$key] = $then($readable); |
| 36 | 36 | } |
| 37 | 37 | |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | * For the full copyright and license information, please view the LICENSE |
| 6 | 6 | * file that was distributed with this source code. |
| 7 | 7 | */ |
| 8 | -declare(strict_types=1); |
|
| 8 | +declare(strict_types = 1); |
|
| 9 | 9 | |
| 10 | 10 | namespace Railt\Storage\Drivers; |
| 11 | 11 | |
@@ -5,13 +5,13 @@ |
||
| 5 | 5 | * For the full copyright and license information, please view the LICENSE |
| 6 | 6 | * file that was distributed with this source code. |
| 7 | 7 | */ |
| 8 | -declare(strict_types=1); |
|
| 8 | +declare(strict_types = 1); |
|
| 9 | 9 | |
| 10 | 10 | namespace Railt\Storage; |
| 11 | 11 | |
| 12 | -\class_alias(__NAMESPACE__ . '\\Storage', __NAMESPACE__ . '\\Persister'); |
|
| 13 | -\class_alias(__NAMESPACE__ . '\\Drivers\\Psr6Storage', __NAMESPACE__ . '\\Psr6Persister'); |
|
| 14 | -\class_alias(__NAMESPACE__ . '\\Drivers\\Psr16Storage', __NAMESPACE__ . '\\Psr16Persister'); |
|
| 15 | -\class_alias(__NAMESPACE__ . '\\Drivers\\ArrayStorage', __NAMESPACE__ . '\\ArrayPersister'); |
|
| 16 | -\class_alias(__NAMESPACE__ . '\\Drivers\\NullableStorage', __NAMESPACE__ . '\\NullablePersister'); |
|
| 17 | -\class_alias(__NAMESPACE__ . '\\Drivers\\EmulatingStorage', __NAMESPACE__ . '\\EmulatingPersister'); |
|
| 12 | +\class_alias(__NAMESPACE__.'\\Storage', __NAMESPACE__.'\\Persister'); |
|
| 13 | +\class_alias(__NAMESPACE__.'\\Drivers\\Psr6Storage', __NAMESPACE__.'\\Psr6Persister'); |
|
| 14 | +\class_alias(__NAMESPACE__.'\\Drivers\\Psr16Storage', __NAMESPACE__.'\\Psr16Persister'); |
|
| 15 | +\class_alias(__NAMESPACE__.'\\Drivers\\ArrayStorage', __NAMESPACE__.'\\ArrayPersister'); |
|
| 16 | +\class_alias(__NAMESPACE__.'\\Drivers\\NullableStorage', __NAMESPACE__.'\\NullablePersister'); |
|
| 17 | +\class_alias(__NAMESPACE__.'\\Drivers\\EmulatingStorage', __NAMESPACE__.'\\EmulatingPersister'); |
|
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | * For the full copyright and license information, please view the LICENSE |
| 6 | 6 | * file that was distributed with this source code. |
| 7 | 7 | */ |
| 8 | -declare(strict_types=1); |
|
| 8 | +declare(strict_types = 1); |
|
| 9 | 9 | |
| 10 | 10 | namespace Railt\Storage\Drivers; |
| 11 | 11 | |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | * For the full copyright and license information, please view the LICENSE |
| 6 | 6 | * file that was distributed with this source code. |
| 7 | 7 | */ |
| 8 | -declare(strict_types=1); |
|
| 8 | +declare(strict_types = 1); |
|
| 9 | 9 | |
| 10 | 10 | namespace Railt\Storage\Drivers; |
| 11 | 11 | |