@@ -1,14 +1,14 @@ |
||
| 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 |
@@ -161,7 +161,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | {
|
@@ -1,21 +1,19 @@ |
||
| 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 |
@@ -76,7 +76,6 @@ discard block |
||
| 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 |
||
| 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() |
@@ -1,19 +1,18 @@ |
||
| 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 |
@@ -1,8 +1,8 @@ |
||
| 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 |
@@ -1,8 +1,6 @@ |
||
| 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 | { |
@@ -87,7 +87,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | { |
@@ -1,11 +1,7 @@ |
||
| 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; |