Skip to content
This repository has been archived by the owner on Apr 5, 2018. It is now read-only.

Commit

Permalink
Fixed some scrutinizer issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Olde Hampsink committed Feb 24, 2016
1 parent 3cd4c13 commit de3ce3e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions elementtypes/AuditLogElementType.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function defineAvailableTableAttributes()
*
* @param string $source
*
* @return array
* @return string[]
*/
public function getDefaultTableAttributes($source = null)
{
Expand Down Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit de3ce3e

Please sign in to comment.