Skip to content

Commit 097525f

Browse files
committed
Update DingoGenerator.php
1 parent 87854b0 commit 097525f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Mpociot/ApiDoc/Generators/DingoGenerator.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,17 @@
22

33
namespace Mpociot\ApiDoc\Generators;
44

5-
use Illuminate\Routing\Route;
65
use Illuminate\Support\Facades\App;
76

87
class DingoGenerator extends AbstractGenerator
98
{
109
/**
11-
* @param \Illuminate\Routing\Route $route
10+
* @param $route
1211
* @param array $bindings
1312
*
1413
* @return array
1514
*/
16-
public function processRoute(Route $route, $bindings = [])
15+
public function processRoute($route, $bindings = [])
1716
{
1817
$response = $this->getRouteResponse($route, $bindings);
1918

@@ -49,7 +48,7 @@ public function callRoute($method, $uri, $parameters = [], $cookies = [], $files
4948
/**
5049
* {@inheritdoc}
5150
*/
52-
protected function getUri(Route $route)
51+
protected function getUri($route)
5352
{
5453
return $route->uri();
5554
}

0 commit comments

Comments
 (0)