Skip to content

Commit a8a6e2f

Browse files
committed
fixbug
1 parent e44eb97 commit a8a6e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ApiTester.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public function getRoutes()
243243
*/
244244
protected function getRouteParameters($action)
245245
{
246-
if (is_callable($action)) {
246+
if (is_callable($action) || $action === 'Closure') {
247247
return [];
248248
}
249249

0 commit comments

Comments
 (0)