Skip to content

Commit

Permalink
Update DingoGenerator.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot committed May 29, 2016
1 parent 87854b0 commit 097525f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Mpociot/ApiDoc/Generators/DingoGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@

namespace Mpociot\ApiDoc\Generators;

use Illuminate\Routing\Route;
use Illuminate\Support\Facades\App;

class DingoGenerator extends AbstractGenerator
{
/**
* @param \Illuminate\Routing\Route $route
* @param $route
* @param array $bindings
*
* @return array
*/
public function processRoute(Route $route, $bindings = [])
public function processRoute($route, $bindings = [])
{
$response = $this->getRouteResponse($route, $bindings);

Expand Down Expand Up @@ -49,7 +48,7 @@ public function callRoute($method, $uri, $parameters = [], $cookies = [], $files
/**
* {@inheritdoc}
*/
protected function getUri(Route $route)
protected function getUri($route)
{
return $route->uri();
}
Expand Down

0 comments on commit 097525f

Please sign in to comment.