Skip to content

Commit

Permalink
Merge pull request #7 from ghazanfarmir/analysis-zYQNb0
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
GhazanfarMir authored Aug 30, 2017
2 parents 85ec006 + d602986 commit ae5a233
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Resources/Company.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@ public function find($number)

if (count($this->with)) {
foreach ($this->with as $resource) {

if (! in_array($resource, $this->valid_resources)) {

$valid_resource_string = implode(', ', $this->valid_resources);

throw new InvalidArgumentException("Invalid resource ($resource). You must provide a valid company resource. e.g. $valid_resource_string.");
Expand All @@ -129,9 +127,7 @@ public function find($number)
*/
public function searchAll($search, $items_per_page = 20, $start_index = 0)
{

if (! empty($search)) {

$params = [
'q' => $search,
'items_per_page' => $items_per_page,
Expand Down

0 comments on commit ae5a233

Please sign in to comment.