diff --git a/Models/Position.php b/Models/Position.php index be6d181..86c892c 100644 --- a/Models/Position.php +++ b/Models/Position.php @@ -264,18 +264,6 @@ class Position implements ArrayableInterface, \JsonSerializable ]; } - /** - * Get string representation. - * - * @return string - * - * @since 1.0.0 - */ - public function __toString() - { - return (string) \json_encode($this->toArray()); - } - /** * {@inheritdoc} */ diff --git a/Models/Unit.php b/Models/Unit.php index f593f44..b9722a2 100644 --- a/Models/Unit.php +++ b/Models/Unit.php @@ -229,18 +229,6 @@ class Unit implements ArrayableInterface, \JsonSerializable ]; } - /** - * Get string representation. - * - * @return string - * - * @since 1.0.0 - */ - public function __toString() - { - return (string) \json_encode($this->toArray()); - } - /** * {@inheritdoc} */