Skip to content

Commit 7c9e5d6

Browse files
authored
Update upgrade_405.rst
str_to_upper() is not a built in php function. https://www.php.net/manual/en/function.strtoupper.php
1 parent 629eae1 commit 7c9e5d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/installation/upgrade_405.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Additional related deprecations from the HTTP layer:
3939

4040
* ``Message::isJSON()``: Check the "Content-Type" header directly
4141
* ``Request[Interface]::isValidIP()``: Use the Validation class with ``valid_ip``
42-
* ``Request[Interface]::getMethod()``: The ``$upper`` parameter will be removed, use str_to_upper()
42+
* ``Request[Interface]::getMethod()``: The ``$upper`` parameter will be removed, use strtoupper()
4343
* ``Request[Trait]::$ipAddress``: This property will become private
4444
* ``Request::$proxyIPs``: This property will be removed; access ``config('App')->proxyIPs`` directly
4545
* ``Request::__construct()``: The constructor will no longer take ``Config\App`` and has been made nullable to aid transition

0 commit comments

Comments
 (0)