From de3ce3e2ed46a672f79bd7cf49f9616b11d28980 Mon Sep 17 00:00:00 2001 From: Bob Olde Hampsink Date: Wed, 24 Feb 2016 12:45:03 +0100 Subject: [PATCH] Fixed some scrutinizer issues --- elementtypes/AuditLogElementType.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/elementtypes/AuditLogElementType.php b/elementtypes/AuditLogElementType.php index 2fcec1c..239a3b5 100644 --- a/elementtypes/AuditLogElementType.php +++ b/elementtypes/AuditLogElementType.php @@ -82,7 +82,7 @@ public function defineAvailableTableAttributes() * * @param string $source * - * @return array + * @return string[] */ public function getDefaultTableAttributes($source = null) { @@ -157,12 +157,10 @@ public function defineCriteriaAttributes() } /** - * Cancel the elements query. + * Modify the elements query. * * @param DbCommand $query * @param ElementCriteriaModel $criteria - * - * @return bool */ public function modifyElementsQuery(DbCommand $query, ElementCriteriaModel $criteria) { @@ -223,7 +221,7 @@ public function modifyElementsQuery(DbCommand $query, ElementCriteriaModel $crit /** * Apply date criteria. * - * @param ElementCriteriaModel $search + * @param ElementCriteriaModel $criteria * @param DbCommand $query */ private function applyDateCriteria(ElementCriteriaModel $criteria, DbCommand $query) @@ -248,7 +246,7 @@ private function applyDateCriteria(ElementCriteriaModel $criteria, DbCommand $qu /** * Apply search criteria. * - * @param ElementCriteriaModel $search + * @param ElementCriteriaModel $criteria * @param DbCommand $query */ private function applySearchCriteria(ElementCriteriaModel $criteria, DbCommand $query)