File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class Exiftool extends AdapterAbstract
4242 /**
4343 * @var array
4444 */
45- protected $ encoding = [] ;
45+ protected $ encoding = array () ;
4646
4747 /**
4848 * @var string
@@ -85,7 +85,8 @@ public function setNumeric($numeric)
8585 * @param string $type the TYPE from -charset TYPE=CHARSET
8686 * @param string $encoding the CHARSET from -charset TYPE=CHARSET
8787 */
88- public function setEncoding ($ type , $ encoding ) {
88+ public function setEncoding ($ type , $ encoding )
89+ {
8990 $ this ->encoding [$ type ] = $ encoding ;
9091 }
9192
@@ -115,7 +116,7 @@ public function getToolPath()
115116 public function getExifFromFile ($ file )
116117 {
117118 $ encoding = '' ;
118- if (!empty ($ this ->encoding )) {
119+ if (!empty ($ this ->encoding )) {
119120 $ encoding = '-charset ' ;
120121 foreach ($ this ->encoding as $ key => $ value ) {
121122 $ encoding .= escapeshellarg ($ key ).'= ' .escapeshellarg ($ value );
You can’t perform that action at this time.
0 commit comments