Skip to content

Commit 7ef8984

Browse files
committed
Rename
1 parent 6cf8818 commit 7ef8984

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/LaravelRequestDocs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public function getControllersInfo(array $onlyMethods): Collection
189189
$controllerName = (new ReflectionClass($controllerFullPath))->getShortName();
190190
}
191191

192-
$pathParameters = $this->routePath->getPaths($route);
192+
$pathParameters = $this->routePath->getPathParameters($route);
193193

194194
$doc = new Doc(
195195
$route->uri,

src/RoutePath.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class RoutePath
2121
* @return array<string, string>
2222
* @throws \ReflectionException
2323
*/
24-
public function getPaths(Route $route): array
24+
public function getPathParameters(Route $route): array
2525
{
2626
$pathParameters = $this->initAllParametersWithStringType($route);
2727

0 commit comments

Comments
 (0)