GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 1f4658...36e1ea )
by Freek
11:15
created
src/SearchIndexServiceProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
     /**
81 81
      * Get the services provided by the provider.
82 82
      *
83
-     * @return array
83
+     * @return string[]
84 84
      */
85 85
     public function provides()
86 86
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function register()
34 34
     {
35
-        $this->app->singleton('searchIndex', function ($app) {
35
+        $this->app->singleton('searchIndex', function($app) {
36 36
             switch ($app['config']->get('searchindex.engine')) {
37 37
                 case 'elasticsearch':
38 38
 
Please login to merge, or discard this patch.
src/Query/Algolia/SearchQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
130 130
             $values = [$values];
131 131
         }
132 132
 
133
-        $numericalFilterArray = array_map(function ($value) use ($name) {
133
+        $numericalFilterArray = array_map(function($value) use ($name) {
134 134
             return "{$name}={$value}";
135 135
         }, $values);
136 136
 
Please login to merge, or discard this patch.
resources/config/searchindex.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
                 /*
22 22
                  * Specify the path where Elasticsearch will write it's logs.
23 23
                  */
24
-                'logPath' =>  storage_path() . '/logs/elasticsearch.log',
24
+                'logPath' =>  storage_path().'/logs/elasticsearch.log',
25 25
 
26 26
                 /*
27 27
                  * Specify how verbose the logging must be
Please login to merge, or discard this patch.
src/SearchIndexHandlers/Algolia.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,12 +51,12 @@  discard block
 block discarded – undo
51 51
 
52 52
         if (is_array($subject) || $subject instanceof Traversable) {
53 53
             $searchIndexPayload = collect($subject)
54
-                ->each(function ($item) {
54
+                ->each(function($item) {
55 55
                     if (!$item instanceof Searchable) {
56 56
                         throw new InvalidArgumentException;
57 57
                     }
58 58
                 })
59
-                ->map(function ($item) {
59
+                ->map(function($item) {
60 60
                     return array_merge(
61 61
                         $item->getSearchableBody(),
62 62
                         ['objectID' => $this->getAlgoliaId($item)]
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      */
92 92
     public function removeFromIndexByTypeAndId($type, $id)
93 93
     {
94
-        $this->index->deleteObject($type . '-' . $id);
94
+        $this->index->deleteObject($type.'-'.$id);
95 95
     }
96 96
 
97 97
     /**
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      */
140 140
     protected function getAlgoliaId($subject)
141 141
     {
142
-        return $subject->getSearchableType() . '-' . $subject->getSearchableId();
142
+        return $subject->getSearchableType().'-'.$subject->getSearchableId();
143 143
     }
144 144
 
145 145
     /**
Please login to merge, or discard this patch.
src/SearchIndexHandlers/Elasticsearch.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,12 +53,12 @@
 block discarded – undo
53 53
 
54 54
 
55 55
             $searchableItems = collect($subject)
56
-                ->each(function ($item) {
56
+                ->each(function($item) {
57 57
                     if (!$item instanceof Searchable) {
58 58
                         throw new InvalidArgumentException;
59 59
                     }
60 60
                 })
61
-                ->flatMap(function ($item) {
61
+                ->flatMap(function($item) {
62 62
                     return
63 63
                         [
64 64
                             [
Please login to merge, or discard this patch.