From af52f3df39443e597e2d2e5df6d637a2f935795d Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 16 Dec 2018 11:25:35 +0100 Subject: [PATCH] Implement tests --- Models/Position.php | 12 ------------ Models/Unit.php | 12 ------------ 2 files changed, 24 deletions(-) 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} */