Skip to content

Commit a3fe46f

Browse files
committed
Add missing __constrcut return docblock.
1 parent 242411e commit a3fe46f

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

src/Exception/InternalHttpException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ class InternalHttpException extends HttpException
1616
* @param \Exception $previous
1717
* @param array $headers
1818
* @param int $code
19+
*
20+
* @return void
1921
*/
2022
public function __construct(Response $response, $message = null, Exception $previous = null, array $headers = [], $code = 0)
2123
{

src/Http/Middleware/Auth.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ class Auth
2727
*
2828
* @param \Dingo\Api\Routing\Router $router
2929
* @param \Dingo\Api\Auth\Auth $auth
30+
*
31+
* @return void
3032
*/
3133
public function __construct(Router $router, Authentication $auth)
3234
{

src/Http/Parser/Accept.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ class Accept implements Parser
4343
* @param string $subtype
4444
* @param string $version
4545
* @param string $format
46+
*
47+
* @return void
4648
*/
4749
public function __construct($standardsTree, $subtype, $version, $format)
4850
{

src/Routing/Route.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ class Route
132132
* @param \Illuminate\Container\Container $container
133133
* @param \Illuminate\Http\Request $request
134134
* @param array|\Illuminate\Routing\Route $route
135+
*
136+
* @return void
135137
*/
136138
public function __construct(Adapter $adapter, Container $container, Request $request, $route)
137139
{

0 commit comments

Comments
 (0)