Completed
Pull Request — master (#48)
by
unknown
04:57 queued 10s
created
src/Address/IPv4.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     /**
75 75
      * Parse a string and returns an IPv4 instance if the string is valid, or null otherwise.
76 76
      *
77
-     * @param string|mixed $address               the address to parse
77
+     * @param string $address               the address to parse
78 78
      * @param bool         $mayIncludePort        set to false to avoid parsing addresses with ports
79 79
      * @param bool         $supportNonDecimalIPv4 set to true to support parsing non decimal (that is, octal and
80 80
      *                                             hexadecimal) IPv4 addresses
Please login to merge, or discard this patch.
src/Factory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      * @param bool $mayIncludeZoneID set to false to avoid parsing IPv6 addresses with zone IDs (see RFC 4007)
19 19
      * @param bool $supportNonDecimalIPv4 set to true to support parsing non decimal (that is, octal and hexadecimal) IPv4 addresses
20 20
      *
21
-     * @return AddressInterface|null
21
+     * @return AddressInterface
22 22
      */
23 23
     public static function addressFromString($address, $mayIncludePort = true, $mayIncludeZoneID = true, $supportNonDecimalIPv4 = false)
24 24
     {
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      *
39 39
      * @param int[]|array $bytes
40 40
      *
41
-     * @return AddressInterface|null
41
+     * @return AddressInterface
42 42
      */
43 43
     public static function addressFromBytes(array $bytes)
44 44
     {
Please login to merge, or discard this patch.