Completed
Pull Request — master (#60)
by
unknown
02:09
created
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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     /**
72 72
      * Try get the range instance starting from its string representation.
73 73
      *
74
-     * @param string|mixed $range
74
+     * @param string $range
75 75
      * @param bool $supportNonDecimalIPv4 set to true to support parsing non decimal (that is, octal and hexadecimal) IPv4 addresses
76 76
      *
77 77
      * @return static|null
Please login to merge, or discard this patch.
src/Address/IPv4.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     /**
85 85
      * Parse a string and returns an IPv4 instance if the string is valid, or null otherwise.
86 86
      *
87
-     * @param string|mixed $address the address to parse
87
+     * @param string $address the address to parse
88 88
      * @param bool $mayIncludePort set to false to avoid parsing addresses with ports
89 89
      * @param bool $supportNonDecimalIPv4 set to true to support parsing non decimal (that is, octal and hexadecimal) IPv4 addresses
90 90
      *
@@ -404,6 +404,7 @@  discard block
 block discarded – undo
404 404
      * {@inheritdoc}
405 405
      *
406 406
      * @see \IPLib\Address\AddressInterface::getNextNthAddress()
407
+     * @param integer $n
407 408
      */
408 409
     public function getNextNthAddress($n)
409 410
     {
Please login to merge, or discard this patch.
src/Address/IPv6.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     /**
95 95
      * Parse a string and returns an IPv6 instance if the string is valid, or null otherwise.
96 96
      *
97
-     * @param string|mixed $address the address to parse
97
+     * @param string $address the address to parse
98 98
      * @param bool $mayIncludePort set to false to avoid parsing addresses with ports
99 99
      * @param bool $mayIncludeZoneID set to false to avoid parsing addresses with zone IDs (see RFC 4007)
100 100
      *
@@ -507,6 +507,7 @@  discard block
 block discarded – undo
507 507
      * {@inheritdoc}
508 508
      *
509 509
      * @see \IPLib\Address\AddressInterface::getNextNthAddress()
510
+     * @param integer $n
510 511
      */
511 512
     public function getNextNthAddress($n)
512 513
     {
Please login to merge, or discard this patch.