8000 Change button_widget class to btn-primary by JulienMaille · Pull Request #29115 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Change button_widget class to btn-primary #29115

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

Merged
merged 8 commits into from
Nov 8, 2018
Prev Previous commit
Next Next commit
[HttpFoundation] Fixed PHP doc of ParameterBag::getBoolean
Since the method should return a bool, then the default value should be
a bool too
  • Loading branch information
lyrixx committed Nov 6, 2018
commit 1fa5a9a0bdf7ca7d26423609f3c828419eb90e7b
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpFoundation/ParameterBag.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public function getInt($key, $default = 0, $deep = false)
* Returns the parameter value converted to boolean.
*
* @param string $key The parameter key
* @param mixed $default The default value if the parameter key does not exist
* @param bool $default The default value if the parameter key does not exist
* @param bool $deep If true, a path like foo[bar] will find deeper items
*
* @return bool The filtered value
Expand Down
0