Completed
Push — master ( 82f678...1e1e14 )
by Cristian
01:55
created
src/app/Http/Controllers/Auth/RegisterController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      *
62 62
      * @param array $data
63 63
      *
64
-     * @return User
64
+     * @return \Illuminate\Contracts\Auth\Authenticatable
65 65
      */
66 66
     protected function create(array $data)
67 67
     {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      *
98 98
      * @param \Illuminate\Http\Request $request
99 99
      *
100
-     * @return \Illuminate\Http\Response
100
+     * @return \Illuminate\Http\RedirectResponse
101 101
      */
102 102
     public function register(Request $request)
103 103
     {
Please login to merge, or discard this patch.
src/BaseServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,13 +66,13 @@  discard block
 block discarded – undo
66 66
         // register the 'admin' middleware
67 67
         $router->middleware('admin', app\Http\Middleware\Admin::class);
68 68
 
69
-        $router->group(['namespace' => 'Backpack\Base\app\Http\Controllers'], function ($router) {
69
+        $router->group(['namespace' => 'Backpack\Base\app\Http\Controllers'], function($router) {
70 70
             Route::group(
71 71
                 [
72 72
                     'middleware' => 'web',
73 73
                     'prefix' => config('backpack.base.route_prefix')
74 74
                 ],
75
-                function () {
75
+                function() {
76 76
                     // if not otherwise configured, setup the auth routes
77 77
                     if (config('backpack.base.setup_auth_routes')) {
78 78
                         Route::auth();
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     public function register()
97 97
     {
98 98
         // register the current package
99
-        $this->app->bind('base', function ($app) {
99
+        $this->app->bind('base', function($app) {
100 100
             return new Base($app);
101 101
         });
102 102
 
Please login to merge, or discard this patch.