Skip to content

Commit 8658207

Browse files
author
Peter Frivalszky
committed
exiftool coding standards fix
1 parent 36c5dcf commit 8658207

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/PHPExif/Adapter/Exiftool.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)