-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove parameters from send() #11
Comments
;-) This the answer: http://api.nette.org/2.0.18/Nette.Application.IResponse.html But yes, it looks like good ideat to extract content of that method to another one (e.g. sendResponse()). What do you think? |
Thanks for quik reply. Yes, extracting to another method works for me. |
Could you please send PR? :) |
Sure, I'll do my best. But it will be done next week. |
So, I've worked on this and here is result:
What do you think? Witch solution is best for you? |
I don't underestant why in send() method are two parameters. You don't use it anyway.
In my opintion, it will be better just without or with default value:
Then you can use it anywhare without unnecessary dependencies:
Maybe I just missing something important.
The text was updated successfully, but these errors were encountered: