Completed
Branch master (f89e9c)
by Johnny
03:00
created
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/Providers/RouteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     public function boot()
26 26
     {
27 27
         //
28
-        Route::bind('linkHash', function ($hash) {
28
+        Route::bind('linkHash', function($hash) {
29 29
             return Link::where('hash', $hash)->firstOrFail();
30 30
         });
31 31
 
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.