Skip to content

Commit 06f5f18

Browse files
committed
Datatypes corrected
1 parent 068e486 commit 06f5f18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/JanDrda/LaravelGoogleCustomSearchEngine/LaravelGoogleCustomSearchEngine.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class LaravelGoogleCustomSearchEngine
2424
/**
2525
* Original response converted to array
2626
*
27-
* @var array
27+
* @var \stdClass
2828
*/
2929
protected $originalResponse;
3030

@@ -88,7 +88,7 @@ public function getResults($phrase, $parameters = array())
8888
* Check required parameters
8989
*/
9090
if ($phrase == '') {
91-
return $searchResults;
91+
return array();
9292
}
9393

9494
if ($this->engineId == '') {

0 commit comments

Comments
 (0)