Skip to content

fix: return type of RouterCommand runMethodWithParams - #81

Merged
izniburak merged 1 commit into
izniburak:masterfrom
ozgurg:fix
Sep 4, 2025
Merged

izniburak merged 1 commit into
izniburak:masterfrom
ozgurg:fix

Conversation

@ozgurg

@ozgurg ozgurg commented Sep 3, 2025

Copy link
Copy Markdown
Contributor

RouterCommand::runMethodWithParams, sendResponse'u döndürdüğü için sendResponse da Response|string|int tiplerini döndürebildiği için sendResponse, Response dışında bir şey döndürdüğünde Uncaught TypeError: Buki\Router\RouterCommand::runMethodWithParams(): Return value must be of type Symfony\Component\HttpFoundation\Response, string returned in vendor/izniburak/router/src/RouterCommand.php:209 hatası veriyordu.
Bu pull request, bunu gideriyor.

@izniburak

Copy link
Copy Markdown
Owner

Thanks for your contribution!

@izniburak
izniburak merged commit 759ac25 into izniburak:master Sep 4, 2025
4 checks passed
@ozgurg
ozgurg deleted the fix branch September 4, 2025 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants