Completed
Push — master ( 1a5a62...492dd2 )
by Joao
12:42 queued 09:26
created
src/Base.php 1 patch
Unused Use Statements   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php namespace jlourenco\base;
2 2
 
3
-use jlourenco\base\Repositories\SettingsRepositoryInterface;
4
-use jlourenco\base\Repositories\UserRepositoryInterface;
5
-use jlourenco\base\Repositories\LogRepositoryInterface;
6
-use jlourenco\base\Repositories\VisitsRepositoryInterface;
7
-use jlourenco\base\Repositories\JobsRepositoryInterface;
8
-use BadMethodCallException;
9
-use Request;
10
-use Jenssegers\Agent\Agent;
11
-use GeoIP;
3
+use jlourenco\base\Repositories\SettingsRepositoryInterface;
4
+use jlourenco\base\Repositories\UserRepositoryInterface;
5
+use jlourenco\base\Repositories\LogRepositoryInterface;
6
+use jlourenco\base\Repositories\VisitsRepositoryInterface;
7
+use jlourenco\base\Repositories\JobsRepositoryInterface;
8
+use BadMethodCallException;
9
+use Request;
10
+use Jenssegers\Agent\Agent;
11
+use GeoIP;
12 12
 use Sentinel;
13 13
 
14 14
 class Base
Please login to merge, or discard this patch.
src/Controllers/AuthController.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     /**
162 162
      * Account sign in form processing.
163 163
      *
164
-     * @return Redirect
164
+     * @return \Illuminate\Http\RedirectResponse
165 165
      */
166 166
     public function postSignin()
167 167
     {
@@ -361,7 +361,7 @@  discard block
 block discarded – undo
361 361
     /**
362 362
      * Forgot password form processing page.
363 363
      *
364
-     * @return Redirect
364
+     * @return \Illuminate\Http\RedirectResponse
365 365
      */
366 366
     public function postForgotPassword()
367 367
     {
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
      *
412 412
      * @param number $userId
413 413
      * @param  string   $passwordResetCode
414
-     * @return Redirect
414
+     * @return \Illuminate\Http\RedirectResponse
415 415
      */
416 416
     public function postForgotPasswordConfirm($userId, $passwordResetCode)
417 417
     {
Please login to merge, or discard this patch.
Unused Use Statements   +11 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,21 +1,19 @@
 block discarded – undo
1 1
 <?php namespace jlourenco\base\Controllers;
2 2
 
3
-use App\Http\Controllers\Controller;
4
-use Illuminate\Support\Facades\Request;
5
-use Sentinel;
6
-use View;
7
-use Validator;
8
-use Input;
9
-use Session;
10
-use Redirect;
11
-use Lang;
12
-use URL;
13
-use Activation;
3
+use Illuminate\Support\Facades\Request;
4
+use Sentinel;
5
+use View;
6
+use Validator;
7
+use Input;
8
+use Redirect;
9
+use Lang;
10
+use URL;
11
+use Activation;
14 12
 use Base;
15 13
 use \Cartalyst\Sentinel\Checkpoints\NotActivatedException;
16 14
 use \Cartalyst\Sentinel\Checkpoints\ThrottlingException;
17
-use Reminder;
18
-use Mail;
15
+use Reminder;
16
+use Mail;
19 17
 use Illuminate\Support\MessageBag;
20 18
 
21 19
 class AuthController extends controller
Please login to merge, or discard this patch.
src/Controllers/UsersController.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,6 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * Display specified user profil.
78 78
      *
79
-     * @param  int  $id
80 79
      * @return Response
81 80
      */
82 81
     public function show(User $user)
@@ -209,7 +208,6 @@  discard block
 block discarded – undo
209 208
     /**
210 209
      * Change password form processing page.
211 210
      *
212
-     * @param  int      $id
213 211
      * @return Redirect
214 212
      */
215 213
     public function postChangePassword()
Please login to merge, or discard this patch.
Unused Use Statements   +13 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,19 +1,18 @@
 block discarded – undo
1 1
 <?php namespace jlourenco\base\Controllers;
2 2
 
3
-use App\Http\Controllers\Controller;
4
-use Validator;
5
-use App\Http\Requests;
6
-use Sentinel;
7
-use View;
8
-use Input;
9
-use File;
10
-use Activation;
11
-use Hash;
12
-use Mail;
13
-use URL;
14
-use Illuminate\Support\Facades\Redirect;
15
-use Base;
16
-use DB;
3
+use App\Http\Controllers\Controller;
4
+use Validator;
5
+use Sentinel;
6
+use View;
7
+use Input;
8
+use File;
9
+use Activation;
10
+use Hash;
11
+use Mail;
12
+use URL;
13
+use Illuminate\Support\Facades\Redirect;
14
+use Base;
15
+use DB;
17 16
 use Lang;
18 17
 
19 18
 class UsersController extends Controller
Please login to merge, or discard this patch.
src/Models/BaseUser.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php namespace jlourenco\base\Models;
2 2
 
3
-use Illuminate\Database\Eloquent\SoftDeletes;
4
-use Cartalyst\Sentinel\Users\EloquentUser;
5
-use jlourenco\support\Traits\Creation;
3
+use Illuminate\Database\Eloquent\SoftDeletes;
4
+use Cartalyst\Sentinel\Users\EloquentUser;
5
+use jlourenco\support\Traits\Creation;
6 6
 use Nicolaslopezj\Searchable\SearchableTrait;
7 7
 
8 8
 class BaseUser extends EloquentUser
Please login to merge, or discard this patch.
src/Models/Visits.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,6 @@
 block discarded – undo
1 1
 <?php namespace jlourenco\base\Models;
2 2
 
3 3
 use Illuminate\Database\Eloquent\Model;
4
-use jlourenco\base\Repositories\LogRepositoryInterface;
5
-use jlourenco\support\Traits\Creation;
6 4
 
7 5
 class Visits extends Model
8 6
 {
Please login to merge, or discard this patch.
src/Controllers/GroupsController.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      * Group update form processing page.
88 88
      *
89 89
      * @param  int      $id
90
-     * @return Redirect
90
+     * @return \Illuminate\Http\RedirectResponse
91 91
      */
92 92
     public function postEdit($id = null)
93 93
     {
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     /**
165 165
      * Group create form processing.
166 166
      *
167
-     * @return Redirect
167
+     * @return \Illuminate\Http\RedirectResponse
168 168
      */
169 169
     public function postCreate()
170 170
     {
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
      * Delete the given group.
233 233
      *
234 234
      * @param  int      $id
235
-     * @return Redirect
235
+     * @return \Illuminate\Http\RedirectResponse
236 236
      */
237 237
     public function getDelete($id = null)
238 238
     {
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -1,11 +1,7 @@
 block discarded – undo
1 1
 <?php namespace jlourenco\base\Controllers;
2 2
 
3
-use Illuminate\Http\Request;
4
-use App\Http\Requests;
5 3
 use App\Http\Controllers\Controller;
6
-use Blog;
7 4
 use Sentinel;
8
-use Searchy;
9 5
 use Validator;
10 6
 use Input;
11 7
 use Base;
Please login to merge, or discard this patch.