Completed
Pull Request — master (#13)
by Freek
03:48 queued 01:38
created
src/Spatie/GoogleSearch/GoogleSearchServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 
15 15
     public function register()
16 16
     {
17
-        $this->app->bind('googleSearch', function () {
17
+        $this->app->bind('googleSearch', function() {
18 18
             $googlesearchConfig = config('googleSearch');
19 19
 
20 20
             return new GoogleSearch($googlesearchConfig['searchEngineId']);
Please login to merge, or discard this patch.
src/Spatie/GoogleSearch/GoogleSearch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     {
87 87
         $propertyArray = $item->PageMap->xpath('DataObject[@type="'.$type.'"]/Attribute[@name="'.$attribute.'"]/@value');
88 88
 
89
-        if (! count($propertyArray)) {
89
+        if (!count($propertyArray)) {
90 90
             return '';
91 91
         }
92 92
 
Please login to merge, or discard this patch.
src/config/googleSearch.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,6 +2,6 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
 
5
-   'searchEngineId' => '',
5
+    'searchEngineId' => '',
6 6
 
7 7
 ];
Please login to merge, or discard this patch.