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 ( 238f89...55586b )
by Aden
03:08
created
src/Flare/Admin/Models/Traits/ModelQuerying.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -138,6 +138,7 @@
 block discarded – undo
138 138
     /**
139 139
      * Performs the Model Query
140 140
      * 
141
+     * @param boolean $count
141 142
      * @return \Illuminate\Database\Eloquent\Collection
142 143
      */
143 144
     private function query($count)
Please login to merge, or discard this patch.
src/Flare/Admin/Models/Traits/ModelSaving.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use LaravelFlare\Flare\Events\AfterRestore;
10 10
 use LaravelFlare\Flare\Events\BeforeRestore;
11 11
 use LaravelFlare\Flare\Events\ModelSoftDelete;
12
-use LaravelFlare\Flare\Exceptions\ModelAdminWriteableException as WriteableException;
13 12
 
14 13
 trait ModelSoftDeleting
15 14
 {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -170,8 +170,8 @@
 block discarded – undo
170 170
     {
171 171
         // Could swap this out for model -> getAttribute, then check if we have an attribute or a relation... getRelationValue() is helpful
172 172
         if (method_exists($this->model, $key) && is_a(call_user_func_array([$this->model, $key], []), 'Illuminate\Database\Eloquent\Relations\Relation')) {
173
-            foreach ($this->{$action.'Relations'} as $relationship => $method) {
174
-                if (is_a(call_user_func_array([$this->model, $key], []), 'Illuminate\Database\Eloquent\Relations\\'.$relationship)) {
173
+            foreach ($this->{$action . 'Relations'} as $relationship => $method) {
174
+                if (is_a(call_user_func_array([$this->model, $key], []), 'Illuminate\Database\Eloquent\Relations\\' . $relationship)) {
175 175
                     $this->model->$key()->$method($value);
176 176
 
177 177
                     return;
Please login to merge, or discard this patch.
src/Flare/Admin/Models/Traits/ModelSoftDeleting.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use LaravelFlare\Flare\Events\AfterRestore;
10 10
 use LaravelFlare\Flare\Events\BeforeRestore;
11 11
 use LaravelFlare\Flare\Events\ModelSoftDelete;
12
-use LaravelFlare\Flare\Exceptions\ModelAdminWriteableException as WriteableException;
13 12
 
14 13
 trait ModelSoftDeleting
15 14
 {
Please login to merge, or discard this patch.
src/Flare/Http/Controllers/Edge/AdminController.php 3 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     /**
75 75
      * Log the user.
76 76
      *
77
-     * @return \Illuminate\Http\RedirectReponse
77
+     * @return \Illuminate\Http\RedirectResponse
78 78
      */
79 79
     public function getLogout()
80 80
     {
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      * panel.If they do no, they will be sent
118 118
      * to the homepage of the website.
119 119
      * 
120
-     * @return \Illuminate\Http\RedirectReponse
120
+     * @return \Illuminate\Http\RedirectResponse
121 121
      */
122 122
     protected function loginRedirect()
123 123
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace LaravelFlare\Flare\Http\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6 5
 use Illuminate\Contracts\Auth\Guard;
7 6
 use LaravelFlare\Flare\Admin\AdminManager;
8 7
 use Illuminate\Foundation\Bus\DispatchesJobs;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
         $view = 'admin.dashboard';
103 103
 
104 104
         if (!view()->exists($view)) {
105
-            $view = 'flare::'.$view;
105
+            $view = 'flare::' . $view;
106 106
         }
107 107
 
108 108
         return view($view, ['widgetAdminManager' => (new WidgetAdminManager())]);
Please login to merge, or discard this patch.
src/Flare/Http/Controllers/LTS/AdminController.php 3 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     /**
75 75
      * Log the user.
76 76
      *
77
-     * @return \Illuminate\Http\RedirectReponse
77
+     * @return \Illuminate\Http\RedirectResponse
78 78
      */
79 79
     public function getLogout()
80 80
     {
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      * panel.If they do no, they will be sent
118 118
      * to the homepage of the website.
119 119
      * 
120
-     * @return \Illuminate\Http\RedirectReponse
120
+     * @return \Illuminate\Http\RedirectResponse
121 121
      */
122 122
     protected function loginRedirect()
123 123
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace LaravelFlare\Flare\Http\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6 5
 use Illuminate\Contracts\Auth\Guard;
7 6
 use LaravelFlare\Flare\Admin\AdminManager;
8 7
 use Illuminate\Foundation\Bus\DispatchesJobs;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
         $view = 'admin.dashboard';
103 103
 
104 104
         if (!view()->exists($view)) {
105
-            $view = 'flare::'.$view;
105
+            $view = 'flare::' . $view;
106 106
         }
107 107
 
108 108
         return view($view, ['widgetAdminManager' => (new WidgetAdminManager())]);
Please login to merge, or discard this patch.
src/Flare/Providers/RouteServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,9 +93,9 @@
 block discarded – undo
93 93
     protected function adminController($route = null)
94 94
     {
95 95
         if ($route) {
96
-            return $this->namespace.'\\'.$this->compatibilityVersion.'\AdminController@'.$route;
96
+            return $this->namespace . '\\' . $this->compatibilityVersion . '\AdminController@' . $route;
97 97
         }
98 98
 
99
-        return $this->namespace.'\\'.$this->compatibilityVersion.'\AdminController';
99
+        return $this->namespace . '\\' . $this->compatibilityVersion . '\AdminController';
100 100
     }
101 101
 }
Please login to merge, or discard this patch.