Browse Source

IP in uppercase

ravage84 5 years ago
parent
commit
70399b890d

+ 1 - 1
src/Cache/Engine/RedisEngine.php

@@ -46,7 +46,7 @@ class RedisEngine extends CacheEngine
      * - `port` port number to the Redis server.
      * - `prefix` Prefix appended to all entries. Good for when you need to share a keyspace
      *    with either another cache config or another application.
-     * - `server` URL or ip to the Redis server host.
+     * - `server` URL or IP to the Redis server host.
      * - `timeout` timeout in seconds (float).
      * - `unix_socket` Path to the unix socket file (default: false)
      *

+ 1 - 1
src/Validation/Validation.php

@@ -1089,7 +1089,7 @@ class Validation
      * The regex checks for the following component parts:
      *
      * - a valid, optional, scheme
-     * - a valid ip address OR
+     * - a valid IP address OR
      *   a valid domain name as defined by section 2.3.1 of https://www.ietf.org/rfc/rfc1035.txt
      *   with an optional port number
      * - an optional valid path

+ 1 - 1
tests/TestCase/Validation/ValidatorTest.php

@@ -2570,7 +2570,7 @@ class ValidatorTest extends TestCase
     }
 
     /**
-     * Tests the ip proxy methods
+     * Tests the IP proxy methods
      *
      * @return void
      */