Skip to content

Commit

Permalink
Merge pull request #3 from Tucker-Eric/analysis-8AD92B
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
Tucker-Eric committed Mar 29, 2016
2 parents 448379e + 97a638f commit cbe0b9a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Filterable.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ trait Filterable
protected $filtered = [];

/**
* Creates local scope to run the filter
* Creates local scope to run the filter.
*
* @param $query
* @param array $input
Expand Down Expand Up @@ -82,7 +82,7 @@ public function scopeSimplePaginateFilter($query, $perPage = null, $columns = ['
}

/**
* Returns ModelFilter class to be instantiated
* Returns ModelFilter class to be instantiated.
*
* @param null|string $filter
* @return null|string
Expand Down
4 changes: 2 additions & 2 deletions src/ModelFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ public function __call($method, $args)
public function removeEmptyInput($input)
{
$filterableInput = [];

foreach ($input as $key => $val) {
if($val !== '') {
if ($val !== '') {
$filterableInput[$key] = $val;
}
}
Expand Down
2 changes: 0 additions & 2 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@

class ServiceProvider extends LaravelServiceProvider
{

/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = true;


/**
* Bootstrap any application services.
*
Expand Down

0 comments on commit cbe0b9a

Please sign in to comment.