@@ -51,7 +51,6 @@ class Auth
5151 * @param \Dingo\Api\Routing\Router $router
5252 * @param \Illuminate\Container\Container $container
5353 * @param array $providers
54- *
5554 * @return void
5655 */
5756 public function __construct (Router $ router , Container $ container , array $ providers )
@@ -65,10 +64,9 @@ public function __construct(Router $router, Container $container, array $provide
6564 * Authenticate the current request.
6665 *
6766 * @param array $providers
67+ * @return mixed
6868 *
6969 * @throws \Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException
70- *
71- * @return mixed
7270 */
7371 public function authenticate (array $ providers = [])
7472 {
@@ -100,10 +98,9 @@ public function authenticate(array $providers = [])
10098 * Throw the first exception from the exception stack.
10199 *
102100 * @param array $exceptionStack
101+ * @return void
103102 *
104103 * @throws \Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException
105- *
106- * @return void
107104 */
108105 protected function throwUnauthorizedException (array $ exceptionStack )
109106 {
@@ -120,7 +117,6 @@ protected function throwUnauthorizedException(array $exceptionStack)
120117 * Filter the requested providers from the available providers.
121118 *
122119 * @param array $providers
123- *
124120 * @return array
125121 */
126122 protected function filterProviders (array $ providers )
@@ -136,7 +132,6 @@ protected function filterProviders(array $providers)
136132 * Get the authenticated user.
137133 *
138134 * @param bool $authenticate
139- *
140135 * @return \Illuminate\Auth\GenericUser|\Illuminate\Database\Eloquent\Model|null
141136 */
142137 public function getUser ($ authenticate = true )
@@ -158,7 +153,6 @@ public function getUser($authenticate = true)
158153 * Alias for getUser.
159154 *
160155 * @param bool $authenticate
161- *
162156 * @return \Illuminate\Auth\GenericUser|\Illuminate\Database\Eloquent\Model
163157 */
164158 public function user ($ authenticate = true )
@@ -170,7 +164,6 @@ public function user($authenticate = true)
170164 * Set the authenticated user.
171165 *
172166 * @param \Illuminate\Auth\GenericUser|\Illuminate\Database\Eloquent\Model $user
173- *
174167 * @return \Dingo\Api\Auth\Auth
175168 */
176169 public function setUser ($ user )
@@ -184,7 +177,6 @@ public function setUser($user)
184177 * Check if a user has authenticated with the API.
185178 *
186179 * @param bool $authenticate
187- *
188180 * @return bool
189181 */
190182 public function check ($ authenticate = false )
@@ -207,7 +199,6 @@ public function getProviderUsed()
207199 *
208200 * @param string $key
209201 * @param object|callable $provider
210- *
211202 * @return void
212203 */
213204 public function extend ($ key , $ provider )
0 commit comments