@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | ->group('type') |
| 92 | 92 | ->queryAll(); |
| 93 | 93 | foreach ($results as $result) { |
| 94 | - $sources['type:'.$result['type']] = array( |
|
| 94 | + $sources['type:' . $result['type']] = array( |
|
| 95 | 95 | 'label' => $result['type'], |
| 96 | 96 | 'data' => array('id' => $result['id']), |
| 97 | 97 | 'criteria' => array('type' => $result['type'], 'editable' => true), |
@@ -263,7 +263,7 @@ discard block |
||
| 263 | 263 | |
| 264 | 264 | // Add search capabilities |
| 265 | 265 | if ($criteria->search) { |
| 266 | - $query->andWhere(DbHelper::parseParam('description', '*'.$criteria->search.'*', $query->params)); |
|
| 266 | + $query->andWhere(DbHelper::parseParam('description', '*' . $criteria->search . '*', $query->params)); |
|
| 267 | 267 | $criteria->search = null; |
| 268 | 268 | } |
| 269 | 269 | } |
@@ -78,7 +78,6 @@ |
||
| 78 | 78 | /** |
| 79 | 79 | * Reset craft next pending task cache using reflection. |
| 80 | 80 | * |
| 81 | - * @param TasksService $service |
|
| 82 | 81 | */ |
| 83 | 82 | private function resetCraftNextPendingTasksCache() |
| 84 | 83 | { |