@@ -200,7 +200,7 @@ |
||
| 200 | 200 | * |
| 201 | 201 | * @param Request $request |
| 202 | 202 | * |
| 203 | - * @return mixed |
|
| 203 | + * @return JsonResponse |
|
| 204 | 204 | */ |
| 205 | 205 | public function confirmChangePassword(Request $request): JsonResponse |
| 206 | 206 | { |
@@ -1,24 +1,24 @@ |
||
| 1 | -<?php |
|
| 1 | + <?php |
|
| 2 | 2 | |
| 3 | -namespace App\Providers; |
|
| 3 | + namespace App\Providers; |
|
| 4 | 4 | |
| 5 | -use App\Helpers\Mail; |
|
| 6 | -use Illuminate\Support\ServiceProvider; |
|
| 5 | + use App\Helpers\Mail; |
|
| 6 | + use Illuminate\Support\ServiceProvider; |
|
| 7 | 7 | |
| 8 | 8 | /** |
| 9 | 9 | * Class MailServiceProvider. |
| 10 | 10 | */ |
| 11 | -class MailServiceProvider extends ServiceProvider |
|
| 12 | -{ |
|
| 13 | - /** |
|
| 11 | + class MailServiceProvider extends ServiceProvider |
|
| 12 | + { |
|
| 13 | + /** |
|
| 14 | 14 | * Register the Session Service Provider. |
| 15 | 15 | * |
| 16 | 16 | * @return void |
| 17 | 17 | */ |
| 18 | - public function register() |
|
| 19 | - { |
|
| 20 | - $this->app->bind('chocomail', function () { |
|
| 21 | - return Mail::getInstance(); |
|
| 22 | - }); |
|
| 23 | - } |
|
| 18 | + public function register() |
|
| 19 | + { |
|
| 20 | + $this->app->bind('chocomail', function () { |
|
| 21 | + return Mail::getInstance(); |
|
| 22 | + }); |
|
| 23 | + } |
|
| 24 | 24 | } |
@@ -1,24 +1,24 @@ |
||
| 1 | -<?php |
|
| 1 | + <?php |
|
| 2 | 2 | |
| 3 | -namespace App\Providers; |
|
| 3 | + namespace App\Providers; |
|
| 4 | 4 | |
| 5 | -use App\Helpers\User; |
|
| 6 | -use Illuminate\Support\ServiceProvider; |
|
| 5 | + use App\Helpers\User; |
|
| 6 | + use Illuminate\Support\ServiceProvider; |
|
| 7 | 7 | |
| 8 | 8 | /** |
| 9 | 9 | * Class UserServiceProvider. |
| 10 | 10 | */ |
| 11 | -class UserServiceProvider extends ServiceProvider |
|
| 12 | -{ |
|
| 13 | - /** |
|
| 11 | + class UserServiceProvider extends ServiceProvider |
|
| 12 | + { |
|
| 13 | + /** |
|
| 14 | 14 | * Register the Session Service Provider. |
| 15 | 15 | * |
| 16 | 16 | * @return void |
| 17 | 17 | */ |
| 18 | - public function register() |
|
| 19 | - { |
|
| 20 | - $this->app->bind('chocouser', function () { |
|
| 21 | - return User::getInstance(); |
|
| 22 | - }); |
|
| 23 | - } |
|
| 18 | + public function register() |
|
| 19 | + { |
|
| 20 | + $this->app->bind('chocouser', function () { |
|
| 21 | + return User::getInstance(); |
|
| 22 | + }); |
|
| 23 | + } |
|
| 24 | 24 | } |
@@ -1,26 +1,26 @@ |
||
| 1 | -<?php |
|
| 1 | + <?php |
|
| 2 | 2 | |
| 3 | -namespace App\Providers; |
|
| 3 | + namespace App\Providers; |
|
| 4 | 4 | |
| 5 | -use App\Helpers\Session; |
|
| 6 | -use Illuminate\Support\ServiceProvider; |
|
| 5 | + use App\Helpers\Session; |
|
| 6 | + use Illuminate\Support\ServiceProvider; |
|
| 7 | 7 | |
| 8 | 8 | /** |
| 9 | 9 | * Class SessionServiceProvider. |
| 10 | 10 | */ |
| 11 | -class SessionServiceProvider extends ServiceProvider |
|
| 12 | -{ |
|
| 13 | - /** |
|
| 11 | + class SessionServiceProvider extends ServiceProvider |
|
| 12 | + { |
|
| 13 | + /** |
|
| 14 | 14 | * Register the Session Service Provider. |
| 15 | 15 | * |
| 16 | 16 | * @return void |
| 17 | 17 | */ |
| 18 | - public function register() |
|
| 19 | - { |
|
| 20 | - $this->app->bind('chocosession', function () { |
|
| 21 | - return Session::getInstance(); |
|
| 22 | - }); |
|
| 18 | + public function register() |
|
| 19 | + { |
|
| 20 | + $this->app->bind('chocosession', function () { |
|
| 21 | + return Session::getInstance(); |
|
| 22 | + }); |
|
| 23 | 23 | |
| 24 | - Session::getInstance()->start(); |
|
| 25 | - } |
|
| 24 | + Session::getInstance()->start(); |
|
| 25 | + } |
|
| 26 | 26 | } |
@@ -1,24 +1,24 @@ |
||
| 1 | -<?php |
|
| 1 | + <?php |
|
| 2 | 2 | |
| 3 | -namespace App\Providers; |
|
| 3 | + namespace App\Providers; |
|
| 4 | 4 | |
| 5 | -use App\Helpers\Nux; |
|
| 6 | -use Illuminate\Support\ServiceProvider; |
|
| 5 | + use App\Helpers\Nux; |
|
| 6 | + use Illuminate\Support\ServiceProvider; |
|
| 7 | 7 | |
| 8 | 8 | /** |
| 9 | 9 | * Class NuxServiceProvider. |
| 10 | 10 | */ |
| 11 | -class NuxServiceProvider extends ServiceProvider |
|
| 12 | -{ |
|
| 13 | - /** |
|
| 11 | + class NuxServiceProvider extends ServiceProvider |
|
| 12 | + { |
|
| 13 | + /** |
|
| 14 | 14 | * Register the Session Service Provider. |
| 15 | 15 | * |
| 16 | 16 | * @return void |
| 17 | 17 | */ |
| 18 | - public function register() |
|
| 19 | - { |
|
| 20 | - $this->app->bind('choconux', function () { |
|
| 21 | - return Nux::getInstance(); |
|
| 22 | - }); |
|
| 23 | - } |
|
| 18 | + public function register() |
|
| 19 | + { |
|
| 20 | + $this->app->bind('choconux', function () { |
|
| 21 | + return Nux::getInstance(); |
|
| 22 | + }); |
|
| 23 | + } |
|
| 24 | 24 | } |
@@ -1,21 +1,21 @@ |
||
| 1 | -<?php |
|
| 1 | + <?php |
|
| 2 | 2 | |
| 3 | -namespace App\Facades; |
|
| 3 | + namespace App\Facades; |
|
| 4 | 4 | |
| 5 | -use Illuminate\Support\Facades\Facade; |
|
| 5 | + use Illuminate\Support\Facades\Facade; |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Class User. |
| 9 | 9 | */ |
| 10 | -class User extends Facade |
|
| 11 | -{ |
|
| 12 | - /** |
|
| 10 | + class User extends Facade |
|
| 11 | + { |
|
| 12 | + /** |
|
| 13 | 13 | * Get the registered name of the component. |
| 14 | 14 | * |
| 15 | 15 | * @return string |
| 16 | 16 | */ |
| 17 | - protected static function getFacadeAccessor() |
|
| 18 | - { |
|
| 19 | - return 'chocouser'; |
|
| 20 | - } |
|
| 17 | + protected static function getFacadeAccessor() |
|
| 18 | + { |
|
| 19 | + return 'chocouser'; |
|
| 20 | + } |
|
| 21 | 21 | } |
@@ -1,21 +1,21 @@ |
||
| 1 | -<?php |
|
| 1 | + <?php |
|
| 2 | 2 | |
| 3 | -namespace App\Facades; |
|
| 3 | + namespace App\Facades; |
|
| 4 | 4 | |
| 5 | -use Illuminate\Support\Facades\Facade; |
|
| 5 | + use Illuminate\Support\Facades\Facade; |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Class Mail. |
| 9 | 9 | */ |
| 10 | -class Mail extends Facade |
|
| 11 | -{ |
|
| 12 | - /** |
|
| 10 | + class Mail extends Facade |
|
| 11 | + { |
|
| 12 | + /** |
|
| 13 | 13 | * Get the registered name of the component. |
| 14 | 14 | * |
| 15 | 15 | * @return string |
| 16 | 16 | */ |
| 17 | - protected static function getFacadeAccessor() |
|
| 18 | - { |
|
| 19 | - return 'chocomail'; |
|
| 20 | - } |
|
| 17 | + protected static function getFacadeAccessor() |
|
| 18 | + { |
|
| 19 | + return 'chocomail'; |
|
| 20 | + } |
|
| 21 | 21 | } |
@@ -1,21 +1,21 @@ |
||
| 1 | -<?php |
|
| 1 | + <?php |
|
| 2 | 2 | |
| 3 | -namespace App\Facades; |
|
| 3 | + namespace App\Facades; |
|
| 4 | 4 | |
| 5 | -use Illuminate\Support\Facades\Facade; |
|
| 5 | + use Illuminate\Support\Facades\Facade; |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Class Nux. |
| 9 | 9 | */ |
| 10 | -class Nux extends Facade |
|
| 11 | -{ |
|
| 12 | - /** |
|
| 10 | + class Nux extends Facade |
|
| 11 | + { |
|
| 12 | + /** |
|
| 13 | 13 | * Get the registered name of the component. |
| 14 | 14 | * |
| 15 | 15 | * @return string |
| 16 | 16 | */ |
| 17 | - protected static function getFacadeAccessor() |
|
| 18 | - { |
|
| 19 | - return 'choconux'; |
|
| 20 | - } |
|
| 17 | + protected static function getFacadeAccessor() |
|
| 18 | + { |
|
| 19 | + return 'choconux'; |
|
| 20 | + } |
|
| 21 | 21 | } |
@@ -1,21 +1,21 @@ |
||
| 1 | -<?php |
|
| 1 | + <?php |
|
| 2 | 2 | |
| 3 | -namespace App\Facades; |
|
| 3 | + namespace App\Facades; |
|
| 4 | 4 | |
| 5 | -use Illuminate\Support\Facades\Facade; |
|
| 5 | + use Illuminate\Support\Facades\Facade; |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Class Session. |
| 9 | 9 | */ |
| 10 | -class Session extends Facade |
|
| 11 | -{ |
|
| 12 | - /** |
|
| 10 | + class Session extends Facade |
|
| 11 | + { |
|
| 12 | + /** |
|
| 13 | 13 | * Get the registered name of the component. |
| 14 | 14 | * |
| 15 | 15 | * @return string |
| 16 | 16 | */ |
| 17 | - protected static function getFacadeAccessor() |
|
| 18 | - { |
|
| 19 | - return 'chocosession'; |
|
| 20 | - } |
|
| 17 | + protected static function getFacadeAccessor() |
|
| 18 | + { |
|
| 19 | + return 'chocosession'; |
|
| 20 | + } |
|
| 21 | 21 | } |