summaryrefslogtreecommitdiff
path: root/vendor/mlocati/ip-lib/src/Range/RangeInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/mlocati/ip-lib/src/Range/RangeInterface.php')
-rw-r--r--vendor/mlocati/ip-lib/src/Range/RangeInterface.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/vendor/mlocati/ip-lib/src/Range/RangeInterface.php b/vendor/mlocati/ip-lib/src/Range/RangeInterface.php
index 1ddd9d6878..61df9f373e 100644
--- a/vendor/mlocati/ip-lib/src/Range/RangeInterface.php
+++ b/vendor/mlocati/ip-lib/src/Range/RangeInterface.php
@@ -10,6 +10,13 @@ use IPLib\Address\AddressInterface;
interface RangeInterface
{
/**
+ * Get the short string representation of this address.
+ *
+ * @return string
+ */
+ public function __toString();
+
+ /**
* Get the string representation of this address.
*
* @param bool $long set to true to have a long/full representation, false otherwise
@@ -21,13 +28,6 @@ interface RangeInterface
public function toString($long = false);
/**
- * Get the short string representation of this address.
- *
- * @return string
- */
- public function __toString();
-
- /**
* Get the type of the IP addresses contained in this range.
*
* @return int One of the \IPLib\Address\Type::T_... constants