8000 merged branch weaverryan/parameter_bag_phpdoc (PR #2965) · mshtukin/symfony@fb374c1 · GitHub
[go: up one dir, main page]

Skip to content

Commit fb374c1

Browse files
committed
merged branch weaverryan/parameter_bag_phpdoc (PR symfony#2965)
Commits ------- a9b54df [HttpFoundation] Adding some additional PHPDoc to ParameterBag Discussion ---------- Parameter bag phpdoc Hi guys! Very basic - just noticed that a few spots were a little light in PHPDoc while doing some docs stuff. Especially with core components that are being used by other groups, loading up on more PHPDoc may be a good idea where it's light. Thanks!
2 parents 5b4e619 + a9b54df commit fb374c1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/Symfony/Component/HttpFoundation/ParameterBag.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ public function add(array $parameters = array())
8686
* Returns a parameter by name.
8787
*
8888
* @param string $path The key
89-
* @param mixed $default The default value
90-
* @param boolean $deep
89+
* @param mixed $default The default value if the parameter key does not exist
90+
* @param boolean $deep If true, a path like foo[bar] will find deeper items
9191
*
9292
* @api
9393
*/
@@ -183,8 +183,8 @@ public function remove($key)
183183
* Returns the alphabetic characters of the parameter value.
184184
*
185185
* @param string $key The parameter key
186-
* @param mixed $default The default value
187-
* @param boolean $deep
186+
* @param mixed $default The default value if the parameter key does not exist
187+
* @param boolean $deep If true, a path like foo[bar] will find deeper items
188188
*
189189
* @return string The filtered value
190190
*
@@ -199,8 +199,8 @@ public function getAlpha($key, $default = '', $deep = false)
199199
* Returns the alphabetic characters and digits of the parameter value.
200200
*
201201
* @param string $key The parameter key
202-
* @param mixed $default The default value
203-
* @param boolean $deep
202+
* @param mixed $default The default value if the parameter key does not exist
203+
* @param boolean $deep If true, a path like foo[bar] will find deeper items
204204
*
205205
* @return string The filtered value
206206
*
@@ -215,8 +215,8 @@ public function getAlnum($key, $default = '', $deep = false)
215215
* Returns the digits of the parameter value.
216216
*
217217
* @param string $key The parameter key
218-
* @param mixed $default The default value
219-
* @param boolean $deep
218+
* @param mixed $default The default value if the parameter key does not exist
219+
* @param boolean $deep If true, a path like foo[bar] will find deeper items
220220
*
221221
* @return string The filtered value
222222
*
@@ -231,8 +231,8 @@ public function getDigits($key, $default = '', $deep = false)
231231
* Returns the parameter value converted to integer.
232232
*
233233
* @param string $key The parameter key
234-
* @param mixed $default The default value
235-
* @param boolean $deep
234+
* @param mixed $default The default value if the parameter key does not exist
235+
* @param boolean $deep If true, a path like foo[bar] will find deeper items
236236
*
237237
* @return string The filtered value
238238
*

0 commit comments

Comments
 (0)
0