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)