@@ -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 | } |
@@ -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 | |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | array_walk($data, array($this, 'normalizeCoordinatePartData')); |
| 82 | 82 | |
| 83 | 83 | // convert to digital degrees |
| 84 | - return floatval($data[0]) + floatval($data[1]/60) + floatval($data[2]/3600); |
|
| 84 | + return floatval($data[0]) + floatval($data[1] / 60) + floatval($data[2] / 3600); |
|
| 85 | 85 | } |
| 86 | 86 | |
| 87 | 87 | /** |