Completed
Branch 3.0.0 (a8a3e4)
by Joao
03:24
created
src/Store/Helpers/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/Store/MongoDbDriver.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 
95 95
     /**
96 96
      * @param $idDocument
97
-     * @param null $collection
97
+     * @param string $collection
98 98
      * @return \ByJG\AnyDataset\NoSqlDocument|null
99 99
      */
100 100
     public function getDocumentById($idDocument, $collection = null)
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 
113 113
     /**
114 114
      * @param \ByJG\AnyDataset\Dataset\IteratorFilter $filter
115
-     * @param null $collection
115
+     * @param null|string $collection
116 116
      * @return \ByJG\AnyDataset\NoSqlDocument[]|null
117 117
      */
118 118
     public function getDocuments(IteratorFilter $filter, $collection = null)
Please login to merge, or discard this patch.