@@ -157,7 +157,7 @@ |
||
157 | 157 | |
158 | 158 | /** |
159 | 159 | * @param string $name |
160 | - * @param mixed $callback |
|
160 | + * @param string $callback |
|
161 | 161 | * @throws Exception |
162 | 162 | */ |
163 | 163 | private function registerUDFunction($name, $callback) { |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | /** |
126 | 126 | * Get all rows, that are present in this store, but not in the other |
127 | 127 | * |
128 | - * @return Generator|DiffStorageStoreRow[] |
|
128 | + * @return Generator |
|
129 | 129 | */ |
130 | 130 | public function getNew() { |
131 | 131 | return $this->query(' |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | /** |
150 | 150 | * Get all rows, that have a different value hash in the other store |
151 | 151 | * |
152 | - * @return Generator|DiffStorageStoreRow[] |
|
152 | + * @return Generator |
|
153 | 153 | */ |
154 | 154 | public function getChanged() { |
155 | 155 | return $this->query(' |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | } |
172 | 172 | |
173 | 173 | /** |
174 | - * @return Generator|DiffStorageStoreRow[] |
|
174 | + * @return Generator |
|
175 | 175 | */ |
176 | 176 | public function getNewOrChanged() { |
177 | 177 | return $this->query(' |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | /** |
196 | 196 | * Get all rows, that are present in the other store, but not in this |
197 | 197 | * |
198 | - * @return Generator|DiffStorageStoreRow[] |
|
198 | + * @return Generator |
|
199 | 199 | */ |
200 | 200 | public function getMissing() { |
201 | 201 | return $this->query(' |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | |
228 | 228 | /** |
229 | 229 | * @param string $query |
230 | - * @return Generator|DiffStorageStoreRow[] |
|
230 | + * @return Generator |
|
231 | 231 | */ |
232 | 232 | private function query($query) { |
233 | 233 | $stmt = $this->pdo->query($query); |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | } |
242 | 242 | |
243 | 243 | /** |
244 | - * @return Traversable|array[] |
|
244 | + * @return Generator |
|
245 | 245 | */ |
246 | 246 | public function getIterator() { |
247 | 247 | $query = ' |