Skip to content

Commit

Permalink
A scheme is now returned as default when it is the only one registere…
Browse files Browse the repository at this point in the history
…d (#296)
  • Loading branch information
davidbyoung committed Sep 17, 2023
1 parent 1976a43 commit 83ae2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controllers/RouteActionInvoker.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,11 @@ public function invokeRouteAction(

/**
* Reflects a route action delegate
* Note: This is split out primarily for testability
*
* @param Closure $routeActionDelegate The route action delegate to reflect
* @return ReflectionFunctionAbstract The reflected method/function
* @throws ReflectionException Thrown if there was an error reflecting the delegate
* @note This is split out primarily for testability
* @internal
*/
protected function reflectRouteActionDelegate(Closure $routeActionDelegate): ReflectionFunctionAbstract
Expand Down

0 comments on commit 83ae2a6

Please sign in to comment.