File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class Native extends AdapterAbstract
70
70
*
71
71
* @var array
72
72
*/
73
- protected $ iptcMapping = array (
73
+ protected $ iptcMapping = array (
74
74
'title ' => '2#005 ' ,
75
75
'keywords ' => '2#025 ' ,
76
76
'copyright ' => '2#116 ' ,
Original file line number Diff line number Diff line change @@ -346,9 +346,9 @@ public function getExposureMilliseconds()
346
346
return false ;
347
347
}
348
348
349
- $ exposureParts = explode ('/ ' , $ this ->data [self ::EXPOSURE ]);
349
+ $ exposureParts = explode ('/ ' , $ this ->data [self ::EXPOSURE ]);
350
350
351
- return (int )reset ($ exposureParts ) / (int )end ($ exposureParts );
351
+ return (int ) reset ($ exposureParts ) / (int ) end ($ exposureParts );
352
352
}
353
353
354
354
/**
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ class Exiftool implements MapperInterface
103
103
*/
104
104
public function setNumeric ($ numeric )
105
105
{
106
- $ this ->numeric = (bool )$ numeric ;
106
+ $ this ->numeric = (bool ) $ numeric ;
107
107
108
108
return $ this ;
109
109
}
Original file line number Diff line number Diff line change @@ -154,13 +154,13 @@ public function mapRawData(array $data)
154
154
$ value = '1/ ' . round ($ denominator );
155
155
break ;
156
156
case self ::FOCALLENGTH :
157
- $ parts = explode ('/ ' , $ value );
158
- $ value = (int )reset ($ parts ) / (int )end ($ parts );
157
+ $ parts = explode ('/ ' , $ value );
158
+ $ value = (int ) reset ($ parts ) / (int ) end ($ parts );
159
159
break ;
160
160
case self ::XRESOLUTION :
161
161
case self ::YRESOLUTION :
162
162
$ resolutionParts = explode ('/ ' , $ value );
163
- $ value = (int )reset ($ resolutionParts );
163
+ $ value = (int ) reset ($ resolutionParts );
164
164
break ;
165
165
case self ::GPSLATITUDE :
166
166
$ gpsData ['lat ' ] = $ this ->extractGPSCoordinate ($ value );
@@ -218,7 +218,7 @@ protected function extractGPSCoordinate(array $components)
218
218
*/
219
219
protected function normalizeGPSComponent ($ component )
220
220
{
221
- $ parts = explode ('/ ' , $ component );
221
+ $ parts = explode ('/ ' , $ component );
222
222
223
223
return count ($ parts ) === 1 ? $ parts [0 ] : (int ) reset ($ parts ) / (int ) end ($ parts );
224
224
}
You can’t perform that action at this time.
0 commit comments