Skip to content

Commit

Permalink
Datatypes corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrda committed Dec 9, 2016
1 parent 068e486 commit 06f5f18
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class LaravelGoogleCustomSearchEngine
/**
* Original response converted to array
*
* @var array
* @var \stdClass
*/
protected $originalResponse;

Expand Down Expand Up @@ -88,7 +88,7 @@ public function getResults($phrase, $parameters = array())
* Check required parameters
*/
if ($phrase == '') {
return $searchResults;
return array();
}

if ($this->engineId == '') {
Expand Down

0 comments on commit 06f5f18

Please sign in to comment.