Commit 9d282ec
committed
minor #9741 [Console] Fix SymfonyStyle::ask usage (liviubalan, javiereguiluz)
This PR was merged into the 2.7 branch.
Discussion
----------
[Console] Fix SymfonyStyle::ask usage
Use function "ctype_digit" instead of "is_integer" because "$number" is not an integer value, but a string
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/roadmap for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `master` for features of unreleased versions).
-->
Commits
-------
9bb23e1 Use is_numeric()
38bcfcb [Console] Fix SymfonyStyle::ask usage1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
242 | | - | |
| 241 | + | |
| 242 | + | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
0 commit comments