@@ -100,7 +100,7 @@ |
||
100 | 100 | * @param string $attribute |
101 | 101 | * @param Closure $decorator |
102 | 102 | * |
103 | - * @return AttributeDecorator |
|
103 | + * @return EventAttributeDecorator |
|
104 | 104 | */ |
105 | 105 | public function addDecorator(string $attribute, Closure $decorator): self |
106 | 106 | { |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | protected function getAttributes(array $event): array |
120 | 120 | { |
121 | 121 | return [ |
122 | - 'event' => (string) $event['_id'], |
|
122 | + 'event' => (string)$event['_id'], |
|
123 | 123 | 'timestamp' => $event['timestamp']->toDateTime()->format('c'), |
124 | 124 | 'operation' => $event['operation'], |
125 | 125 | 'name' => $event['name'], |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Balloon\Filesystem\Node\File; |
15 | 15 | use Balloon\Filesystem\Storage\Adapter\AdapterInterface; |
16 | -use Balloon\Filesystem\Storage\Adapter\Gridfs; |
|
17 | 16 | use Psr\Log\LoggerInterface; |
18 | 17 | |
19 | 18 | class Storage |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -44,7 +44,6 @@ |
||
44 | 44 | /** |
45 | 45 | * Inject hook. |
46 | 46 | * |
47 | - * @param HookInterface $adapter |
|
48 | 47 | * |
49 | 48 | * @return Hook |
50 | 49 | */ |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |