@@ -32,7 +32,7 @@ |
||
| 32 | 32 | /** |
| 33 | 33 | * {@inheritDoc} |
| 34 | 34 | */ |
| 35 | - public function map(array $input, MetadataInterface &$output) |
|
| 35 | + public function map(array $input, MetadataInterface & $output) |
|
| 36 | 36 | { |
| 37 | 37 | $this->mapArray($input, $output); |
| 38 | 38 | } |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | (int) $input['COMPUTED'][$inputField] |
| 59 | 59 | ); |
| 60 | 60 | |
| 61 | - $method = 'with' . $inputField; |
|
| 61 | + $method = 'with'.$inputField; |
|
| 62 | 62 | |
| 63 | 63 | $output = $output->$method($valueObject); |
| 64 | 64 | } |
@@ -60,13 +60,13 @@ discard block |
||
| 60 | 60 | $namespace = $reflClass->getNamespaceName(); |
| 61 | 61 | $namespace .= '\\Exif'; |
| 62 | 62 | |
| 63 | - $path = realpath(__DIR__ . '/Mapper/Exif'); |
|
| 63 | + $path = realpath(__DIR__.'/Mapper/Exif'); |
|
| 64 | 64 | |
| 65 | - foreach (glob($path . '/*Mapper.php') as $classPath) { |
|
| 65 | + foreach (glob($path.'/*Mapper.php') as $classPath) { |
|
| 66 | 66 | $className = str_replace('.php', '', array_reverse( |
| 67 | 67 | explode(DIRECTORY_SEPARATOR, $classPath) |
| 68 | 68 | )[0]); |
| 69 | - $fqcn = $namespace . '\\' . $className; |
|
| 69 | + $fqcn = $namespace.'\\'.$className; |
|
| 70 | 70 | |
| 71 | 71 | $fieldMapper = new $fqcn(); |
| 72 | 72 | |
@@ -90,13 +90,13 @@ discard block |
||
| 90 | 90 | $namespace = $reflClass->getNamespaceName(); |
| 91 | 91 | $namespace .= '\\Iptc'; |
| 92 | 92 | |
| 93 | - $path = realpath(__DIR__ . '/Mapper/Iptc'); |
|
| 93 | + $path = realpath(__DIR__.'/Mapper/Iptc'); |
|
| 94 | 94 | |
| 95 | - foreach (glob($path . '/*Mapper.php') as $classPath) { |
|
| 95 | + foreach (glob($path.'/*Mapper.php') as $classPath) { |
|
| 96 | 96 | $className = str_replace('.php', '', array_reverse( |
| 97 | 97 | explode(DIRECTORY_SEPARATOR, $classPath) |
| 98 | 98 | )[0]); |
| 99 | - $fqcn = $namespace . '\\' . $className; |
|
| 99 | + $fqcn = $namespace.'\\'.$className; |
|
| 100 | 100 | |
| 101 | 101 | $fieldMapper = new $fqcn(); |
| 102 | 102 | |