Skip to content

Commit 83e72af

Browse files
committed
Remove typehints so Dingo can pass
1 parent 9db2f64 commit 83e72af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Mpociot/ApiDoc/Generators/LaravelGenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class LaravelGenerator extends AbstractGenerator
1313
*
1414
* @return mixed
1515
*/
16-
public function getUri(Route $route)
16+
public function getUri($route)
1717
{
1818
if (version_compare(app()->version(), '5.4', '<')) {
1919
return $route->getUri();
@@ -27,7 +27,7 @@ public function getUri(Route $route)
2727
*
2828
* @return mixed
2929
*/
30-
public function getMethods(Route $route)
30+
public function getMethods($route)
3131
{
3232
if (version_compare(app()->version(), '5.4', '<')) {
3333
$methods = $route->getMethods();

0 commit comments

Comments
 (0)