Completed
Push — master ( 77a1c0...f3db91 )
by Michele
27s queued 11s
created
src/Address/IPv6.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     /**
68 68
      * Parse a string and returns an IPv6 instance if the string is valid, or null otherwise.
69 69
      *
70
-     * @param string|mixed $address the address to parse
70
+     * @param string $address the address to parse
71 71
      * @param bool $mayIncludePort set to false to avoid parsing addresses with ports
72 72
      * @param bool $mayIncludeZoneID set to false to avoid parsing addresses with zone IDs (see RFC 4007)
73 73
      *
Please login to merge, or discard this patch.
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 hexadecimal) IPv4 addresses
80 80
      *
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
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
      * @param bool $mayIncludeZoneID set to false to avoid parsing IPv6 addresses with zone IDs (see RFC 4007)
18 18
      * @param bool $supportNonDecimalIPv4 set to true to support parsing non decimal (that is, octal and hexadecimal) IPv4 addresses
19 19
      *
20
-     * @return \IPLib\Address\AddressInterface|null
20
+     * @return AddressInterface
21 21
      */
22 22
     public static function addressFromString($address, $mayIncludePort = true, $mayIncludeZoneID = true, $supportNonDecimalIPv4 = false)
23 23
     {
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      *
38 38
      * @param int[]|array $bytes
39 39
      *
40
-     * @return \IPLib\Address\AddressInterface|null
40
+     * @return AddressInterface
41 41
      */
42 42
     public static function addressFromBytes(array $bytes)
43 43
     {
Please login to merge, or discard this patch.
src/Range/Pattern.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     /**
71 71
      * Try get the range instance starting from its string representation.
72 72
      *
73
-     * @param string|mixed $range
73
+     * @param string $range
74 74
      * @param bool $supportNonDecimalIPv4 set to true to support parsing non decimal (that is, octal and hexadecimal) IPv4 addresses
75 75
      *
76 76
      * @return static|null
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
     }
284 284
 
285 285
     /**
286
-     * @return float|int
286
+     * @return integer|null
287 287
      */
288 288
     private function getNetworkPrefix()
289 289
     {
Please login to merge, or discard this patch.