Completed
Pull Request — master (#1)
by Joao
03:38
created
src/Repository/JsonIterator.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Repository/TextFileIterator.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,9 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Database/BaseDBAccess.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,6 @@
 block discarded – undo
207 207
     }
208 208
 
209 209
     /**
210
-
211 210
      * @param IteratorInterface $iterator
212 211
      * @param string $name
213 212
      * @param array $fields
Please login to merge, or discard this patch.
src/Database/Expressions/DbDblibFunctions.php 1 patch
Indentation   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,7 @@
 block discarded – undo
65 65
 
66 66
     /**
67 67
      * Format date column in sql string given an input format that understands Y M D
68
-
69
-*
68
+     *
70 69
 *@param string $format
71 70
      * @param bool|string $column
72 71
      * @return string
Please login to merge, or discard this patch.
src/Repository/NoSqlDataset.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
     private $_connectionManagement;
20 20
 
21 21
     /**
22
-
23 22
      * @var NoSqlDriverInterface
24 23
      */
25 24
     private $_dbDriver = null;
Please login to merge, or discard this patch.
src/Repository/IteratorFilter.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -265,7 +265,9 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/Repository/DBDataset.php 1 patch
Indentation   -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@  discard block
 block discarded – undo
23 23
     protected $connectionManagement;
24 24
 
25 25
     /**
26
-
27 26
      * @var DbDriverInterface
28 27
      */
29 28
     private $dbDriver = null;
@@ -223,7 +222,6 @@  discard block
 block discarded – undo
223 222
     }
224 223
 
225 224
     /**
226
-
227 225
      * @var DbFunctionsInterface
228 226
      */
229 227
     protected $dbFunction = null;
Please login to merge, or discard this patch.