| @@ -79,7 +79,7 @@ | ||
| 79 | 79 | * Create a new user instance after a valid registration. | 
| 80 | 80 | * | 
| 81 | 81 | * @param array $data | 
| 82 | - * @return User | |
| 82 | + * @return Administrators | |
| 83 | 83 | */ | 
| 84 | 84 | protected function create(array $data) | 
| 85 | 85 |      { | 
| @@ -70,7 +70,7 @@ | ||
| 70 | 70 | /** | 
| 71 | 71 | * Pour la suppression, il n'y a pas de vue dédiée. | 
| 72 | 72 | * On redirige donc vers l'index. | 
| 73 | - * @return \Illuminate\View\View | |
| 73 | + * @return \Illuminate\Http\RedirectResponse | |
| 74 | 74 | */ | 
| 75 | 75 | public function delete($id) | 
| 76 | 76 |      { | 
| @@ -148,7 +148,6 @@ | ||
| 148 | 148 | |
| 149 | 149 | /** | 
| 150 | 150 | * Fonction de like des films, enregistré en session | 
| 151 | - * @param Request $request | |
| 152 | 151 | */ | 
| 153 | 152 | public function like($id, $action) | 
| 154 | 153 |      { | 
| @@ -8,7 +8,6 @@ | ||
| 8 | 8 | use App\Http\Models\User; | 
| 9 | 9 | use Illuminate\Http\Request; | 
| 10 | 10 | use Illuminate\Support\Facades\Validator; | 
| 11 | -use Netshell\Paypal\Facades\Paypal; | |
| 12 | 11 | |
| 13 | 12 | |
| 14 | 13 | /** | 
| @@ -37,7 +37,6 @@ | ||
| 37 | 37 | abstract public function count(); | 
| 38 | 38 | |
| 39 | 39 | /** | 
| 40 | - * @param array $total | |
| 41 | 40 | */ | 
| 42 | 41 | abstract public function emptycart(); | 
| 43 | 42 | |
| @@ -44,7 +44,6 @@ discard block | ||
| 44 | 44 | return $this; | 
| 45 | 45 | } | 
| 46 | 46 | /** | 
| 47 | - * @param ItemInterface $item | |
| 48 | 47 | */ | 
| 49 | 48 |      public function addItems(Collection $collection){ | 
| 50 | 49 |          foreach($collection as $item){ | 
| @@ -90,7 +89,7 @@ discard block | ||
| 90 | 89 | } | 
| 91 | 90 | |
| 92 | 91 | /** | 
| 93 | - * @return \ArrayIterator | |
| 92 | + * @return integer | |
| 94 | 93 | */ | 
| 95 | 94 | public function count() | 
| 96 | 95 |      { | 
| @@ -162,7 +161,6 @@ discard block | ||
| 162 | 161 | |
| 163 | 162 | |
| 164 | 163 | /** | 
| 165 | - * @param array $total | |
| 166 | 164 | */ | 
| 167 | 165 | public function emptycart() | 
| 168 | 166 |      { | 
| @@ -20,7 +20,6 @@ | ||
| 20 | 20 | /** | 
| 21 | 21 | * Handle the event. | 
| 22 | 22 | * | 
| 23 | - * @param Events $event | |
| 24 | 23 | */ | 
| 25 | 24 | public function handle(Administrators $user) | 
| 26 | 25 |      { |