Skip to content
Snippets Groups Projects
Commit 38ee2413 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

mark Request::quoted() as deprecated, fixes #4791

Closes #4791

Merge request studip/studip!3584
parent 7714d226
No related branches found
No related tags found
No related merge requests found
...@@ -223,6 +223,8 @@ class Request implements ArrayAccess, IteratorAggregate ...@@ -223,6 +223,8 @@ class Request implements ArrayAccess, IteratorAggregate
* @param string $default default value if parameter is not set * @param string $default default value if parameter is not set
* *
* @return string parameter value as string (if set), else NULL * @return string parameter value as string (if set), else NULL
*
* @deprecated since Stud.IP 6.0
*/ */
public static function quoted($param, $default = NULL) public static function quoted($param, $default = NULL)
{ {
...@@ -480,6 +482,7 @@ class Request implements ArrayAccess, IteratorAggregate ...@@ -480,6 +482,7 @@ class Request implements ArrayAccess, IteratorAggregate
* @param string $param parameter name * @param string $param parameter name
* *
* @return array parameter value as array (if set), else an empty array * @return array parameter value as array (if set), else an empty array
* @deprecated since Stud.IP 6.0
*/ */
public static function quotedArray($param) public static function quotedArray($param)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment