Test Failed
Pull Request — master (#64)
by Johnny
03:29
created
app/Exceptions/Handler.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,6 @@
 block discarded – undo
45 45
      * Render an exception into an HTTP response.
46 46
      *
47 47
      * @param \Illuminate\Http\Request $request
48
-     * @param \Exception               $exception
49 48
      *
50 49
      * @return \Illuminate\Http\Response
51 50
      */
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/LoginController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
      * Log the user out of the application.
108 108
      *
109 109
      * @param  \Illuminate\Http\Request  $request
110
-     * @return \Illuminate\Http\Response
110
+     * @return \Illuminate\Http\RedirectResponse
111 111
      */
112 112
     public function logout(Request $request)
113 113
     {
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/RegisterController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
      * Handle a registration request for the application.
90 90
      *
91 91
      * @param  \Illuminate\Http\Request  $request
92
-     * @return \Illuminate\Http\Response
92
+     * @return \Illuminate\Http\RedirectResponse
93 93
      */
94 94
     public function register(Request $request)
95 95
     {
Please login to merge, or discard this patch.
app/Http/Controllers/SystemController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      *
40 40
      * @param \App\Http\Requests\SubmitUrlRequest $request
41 41
      *
42
-     * @return \Illuminate\Http\Response
42
+     * @return \Illuminate\Http\RedirectResponse
43 43
      */
44 44
     public function store(SubmitUrlRequest $request, Link $link)
45 45
     {
Please login to merge, or discard this patch.
app/Notifications/EmailVerification.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      * Get the notification's delivery channels.
28 28
      *
29 29
      * @param  mixed  $notifiable
30
-     * @return array
30
+     * @return string[]
31 31
      */
32 32
     public function via($notifiable)
33 33
     {
Please login to merge, or discard this patch.
app/Providers/FlashServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      */
24 24
     public function register()
25 25
     {
26
-        $this->app->singleton('flash', function () {
26
+        $this->app->singleton('flash', function() {
27 27
             return $this->app->make(\App\Session\FlashMessage::class);
28 28
         });
29 29
     }
Please login to merge, or discard this patch.
app/Providers/AppServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     {
21 21
         Schema::defaultStringLength(191);
22 22
 
23
-        Route::bind('link_hash', function ($hash = '') {
23
+        Route::bind('link_hash', function($hash = '') {
24 24
             return Link::where('hash', $hash)->first();
25 25
         });
26 26
     }
Please login to merge, or discard this patch.
app/Http/Middleware/SecureAdmin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         }
36 36
 
37 37
         // Allow access only to administrators
38
-        if (! $this->auth->user()->hasRole('Administrator')) {
38
+        if ( ! $this->auth->user()->hasRole('Administrator')) {
39 39
             abort(404, 'You are not authorized to view requested resource.');
40 40
 
41 41
             return redirect()->route('homepage');
Please login to merge, or discard this patch.
routes/console.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,6 @@
 block discarded – undo
13 13
 |
14 14
 */
15 15
 
16
-Artisan::command('inspire', function () {
16
+Artisan::command('inspire', function() {
17 17
     $this->comment(Inspiring::quote());
18 18
 })->describe('Display an inspiring quote');
Please login to merge, or discard this patch.