Skip to content

Commit

Permalink
Codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
bumbummen99 committed Jun 4, 2019
1 parent 9335061 commit af9e680
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/Abstracts/Filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public function removeValue($value)
{
if (($key = array_search($value, $this->values)) !== false) {
unset($this->values[$key]);

return true;
} else {
return false;
Expand Down
4 changes: 2 additions & 2 deletions src/Abstracts/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function hasFilter(string $filterName)
}

/**
* Gets the given filter instance
* Gets the given filter instance.
*
* @return null|ModelSearch\Abstracts\Filter
*/
Expand All @@ -107,7 +107,7 @@ public function getFilter(string $filterName)
if ($this->hasFilter($filterName)) {
return $this->filters[studly_case($filterName)];
} else {
return null;
return;
}
}

Expand Down

0 comments on commit af9e680

Please sign in to comment.