@@ -27,7 +27,9 @@ discard block |
||
27 | 27 | } |
28 | 28 | |
29 | 29 | if ($path != "") { |
30 | - if ($path[0] == "/") $path = substr($path, 1); |
|
30 | + if ($path[0] == "/") { |
|
31 | + $path = substr($path, 1); |
|
32 | + } |
|
31 | 33 | |
32 | 34 | $pathAr = explode("/", $path); |
33 | 35 | |
@@ -44,7 +46,9 @@ discard block |
||
44 | 46 | } |
45 | 47 | } |
46 | 48 | $this->_jsonObject = $newjsonObject; |
47 | - } else $this->_jsonObject = $jsonObject; |
|
49 | + } else { |
|
50 | + $this->_jsonObject = $jsonObject; |
|
51 | + } |
|
48 | 52 | |
49 | 53 | $this->_current = 0; |
50 | 54 | } |
@@ -33,7 +33,9 @@ |
||
33 | 33 | if (($buffer !== false) && (trim($buffer) != "")) { |
34 | 34 | $this->_current++; |
35 | 35 | $this->_currentBuffer = $buffer; |
36 | - } else $this->readNextLine(); |
|
36 | + } else { |
|
37 | + $this->readNextLine(); |
|
38 | + } |
|
37 | 39 | } |
38 | 40 | } |
39 | 41 |
@@ -265,7 +265,9 @@ |
||
265 | 265 | |
266 | 266 | $field = $singleRow->getField($name); |
267 | 267 | |
268 | - if (!is_array($field)) $field = array($field); |
|
268 | + if (!is_array($field)) { |
|
269 | + $field = array($field); |
|
270 | + } |
|
269 | 271 | |
270 | 272 | foreach ($field as $valueparam) { |
271 | 273 | switch ($relation) { |