Completed
Pull Request — master (#20)
by lee
03:03
created
src/Range/Pattern.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     /**
53 53
      * Try get the range instance starting from its string representation.
54 54
      *
55
-     * @param string|mixed $range
55
+     * @param string $range
56 56
      *
57 57
      * @return static|null
58 58
      */
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
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     /**
58 58
      * Parse a string and returns an IPv4 instance if the string is valid, or null otherwise.
59 59
      *
60
-     * @param string|mixed $address the address to parse
60
+     * @param string $address the address to parse
61 61
      * @param bool $mayIncludePort set to false to avoid parsing addresses with ports
62 62
      *
63 63
      * @return static|null
Please login to merge, or discard this patch.
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/Factory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      * @param bool $mayIncludePort set to false to avoid parsing addresses with ports
17 17
      * @param bool $mayIncludeZoneID set to false to avoid parsing IPv6 addresses with zone IDs (see RFC 4007)
18 18
      *
19
-     * @return Address\AddressInterface|null
19
+     * @return AddressInterface
20 20
      */
21 21
     public static function addressFromString($address, $mayIncludePort = true, $mayIncludeZoneID = true)
22 22
     {
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      *
37 37
      * @param int[]|array $bytes
38 38
      *
39
-     * @return Address\AddressInterface|null
39
+     * @return AddressInterface
40 40
      */
41 41
     public static function addressFromBytes(array $bytes)
42 42
     {
Please login to merge, or discard this patch.
src/Range/RangeInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,6 @@
 block discarded – undo
53 53
     /**
54 54
      * Check if this range contains another range.
55 55
      *
56
-     * @param RangeInterface $address
57 56
      *
58 57
      * @return bool
59 58
      */
Please login to merge, or discard this patch.
src/Address/AssignedRange.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,6 @@
 block discarded – undo
102 102
     /**
103 103
      * Get the assigned type for a specific address range.
104 104
      *
105
-     * @param RangeInterface $address
106 105
      *
107 106
      * @return int|null|false return NULL of the range is fully outside this range; false if it's partly crosses this range (or it contains mixed types); a \IPLib\Range\Type::T_ constant otherwise
108 107
      */
Please login to merge, or discard this patch.