Completed
Pull Request — master (#1)
by Joao
04:01 queued 01:28
created
src/Database/SqlHelper.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -160,6 +160,9 @@
 block discarded – undo
160 160
         $this->fieldDeliRight = $right;
161 161
     }
162 162
 
163
+    /**
164
+     * @param string $sql
165
+     */
163 166
     public static function createSafeSQL($sql, $list)
164 167
     {
165 168
         return str_replace(array_keys($list), array_values($list), $sql);
Please login to merge, or discard this patch.
src/Repository/AnyDataset.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -310,6 +310,10 @@  discard block
 block discarded – undo
310 310
         return;
311 311
     }
312 312
 
313
+    /**
314
+     * @param SingleRow[] $seq
315
+     * @param string $field
316
+     */
313 317
     protected function quickSortExec($seq, $field)
314 318
     {
315 319
         if (!count($seq)) {
@@ -337,7 +341,7 @@  discard block
 block discarded – undo
337 341
 
338 342
     /**
339 343
      * @param $document
340
-     * @return array|string
344
+     * @return string
341 345
      */
342 346
     public static function fixUTF8($document)
343 347
     {
Please login to merge, or discard this patch.
src/Repository/DBDataset.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -131,6 +131,9 @@
 block discarded – undo
131 131
         return $arrayDS->getIterator();
132 132
     }
133 133
 
134
+    /**
135
+     * @param string $sql
136
+     */
134 137
     protected function getQueryKey($sql, $array)
135 138
     {
136 139
         $key1 = md5($sql);
Please login to merge, or discard this patch.
src/Repository/IteratorFilter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 
74 74
     /**
75 75
      *
76
-     * @param $array
76
+     * @param SingleRow[] $array
77 77
      * @return SingleRow[]
78 78
      */
79 79
     public function match($array)
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
     /**
244 244
      *
245 245
      * @param SingleRow $singleRow
246
-     * @return string
246
+     * @return boolean
247 247
      */
248 248
     private function evalString(SingleRow $singleRow)
249 249
     {
Please login to merge, or discard this patch.