| @@ -40,7 +40,7 @@ discard block | ||
| 40 | 40 | ->isRequired() | 
| 41 | 41 | ->beforeNormalization() | 
| 42 | 42 | ->ifString() | 
| 43 | -                ->then(function (string $adapter) { | |
| 43 | +                ->then(function(string $adapter) { | |
| 44 | 44 | return ['adapter' => $adapter]; | 
| 45 | 45 | }) | 
| 46 | 46 | ->end() | 
| @@ -115,7 +115,7 @@ discard block | ||
| 115 | 115 | ->useAttributeAsKey(true) | 
| 116 | 116 | ->variablePrototype() | 
| 117 | 117 | ->validate() | 
| 118 | -                            ->ifTrue(function (array $config): bool { | |
| 118 | +                            ->ifTrue(function(array $config): bool { | |
| 119 | 119 | return !Manipulator::validParams($config); | 
| 120 | 120 | }) | 
| 121 | 121 |                              ->thenInvalid('Invalid manipulation specified.') | 
| @@ -124,7 +124,7 @@ discard block | ||
| 124 | 124 | ->end() | 
| 125 | 125 |                  ->variableNode('defaults') | 
| 126 | 126 | ->validate() | 
| 127 | -                        ->ifTrue(function (array $config): bool { | |
| 127 | +                        ->ifTrue(function(array $config): bool { | |
| 128 | 128 | return !Manipulator::validParams($config); | 
| 129 | 129 | }) | 
| 130 | 130 |                          ->thenInvalid('Invalid manipulation specified.') | 
| @@ -31,7 +31,7 @@ | ||
| 31 | 31 | |
| 32 | 32 |          $output = fopen('php://output', 'wb'); | 
| 33 | 33 | |
| 34 | -        $response = new StreamedResponse(function () use ($media, $output) { | |
| 34 | +        $response = new StreamedResponse(function() use ($media, $output) { | |
| 35 | 35 | $this->storage->streamTo($media, $output); | 
| 36 | 36 | }); | 
| 37 | 37 | |
| @@ -38,11 +38,11 @@ | ||
| 38 | 38 | |
| 39 | 39 | public function extract($context): Metadata | 
| 40 | 40 |      { | 
| 41 | -        $reduce = function (Metadata $metadata, Reader $reader) use ($context): Metadata { | |
| 41 | +        $reduce = function(Metadata $metadata, Reader $reader) use ($context): Metadata { | |
| 42 | 42 | return $metadata->merge($reader->extract($context)); | 
| 43 | 43 | }; | 
| 44 | 44 | |
| 45 | -        $filter = function (Reader $reader) use ($context): bool { | |
| 45 | +        $filter = function(Reader $reader) use ($context): bool { | |
| 46 | 46 | return $reader->supports($context); | 
| 47 | 47 | }; | 
| 48 | 48 | |