Completed
Branch master (de7e19)
by Ron
02:50
created
src/DiffStorage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/DiffStorageStore.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
241 241
 	}
242 242
 
243 243
 	/**
244
-	 * @return Traversable|array[]
244
+	 * @return Generator
245 245
 	 */
246 246
 	public function getIterator() {
247 247
 		$query = '
Please login to merge, or discard this patch.