Completed
Push — master ( 08f984...53df52 )
by Pavel
03:17
created
src/DataSource/ArrayDataSource.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
 	 * Filter by multi select value
164 164
 	 * @param  mixed  $row
165 165
 	 * @param  FilterMultiSelect $filter
166
-	 * @return void
166
+	 * @return boolean
167 167
 	 */
168 168
 	public function applyFilterMultiSelect($row, FilterMultiSelect $filter)
169 169
 	{
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
 	 * Apply fitler date and tell whether row value matches or not
179 179
 	 * @param  mixed  $row
180 180
 	 * @param  Filter $filter
181
-	 * @return mixed
181
+	 * @return boolean|null
182 182
 	 */
183 183
 	protected function applyFilterDate($row, FilterDate $filter)
184 184
 	{
Please login to merge, or discard this patch.
src/DataSource/NetteDatabaseTableDataSource.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 		}
61 61
 
62 62
 		return $this->data_source->count(
63
-			$this->data_source->getName() . '.' . (is_array($primary) ? reset($primary) : $primary)
63
+			$this->data_source->getName().'.'.(is_array($primary) ? reset($primary) : $primary)
64 64
 		);
65 65
 	}
66 66
 
@@ -215,9 +215,9 @@  discard block
 block discarded – undo
215 215
 		
216 216
 			foreach ($values as $value) {
217 217
 				if ($i == $length) {
218
-					$or .= $filter->getColumn() . ' = ?)';
218
+					$or .= $filter->getColumn().' = ?)';
219 219
 				} else {
220
-					$or .= $filter->getColumn() . ' = ? OR ';
220
+					$or .= $filter->getColumn().' = ? OR ';
221 221
 				}
222 222
 
223 223
 				$i++;
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
 
228 228
 			call_user_func_array([$this->data_source, 'where'], $values);
229 229
 		} else {
230
-			$this->data_source->where($filter->getColumn() . ' = ?', reset($values));
230
+			$this->data_source->where($filter->getColumn().' = ?', reset($values));
231 231
 		}
232 232
 	}
233 233
 
Please login to merge, or discard this patch.