From fe0a973a4c5a66ee80b81d0ecaa90bcbcf1cdb1b Mon Sep 17 00:00:00 2001 From: Doug Wright Date: Sun, 4 Jul 2021 16:13:32 +0100 Subject: [PATCH] Mark unused function as deprecated --- src/PackedItem.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/PackedItem.php b/src/PackedItem.php index 3529f96c..d4650449 100644 --- a/src/PackedItem.php +++ b/src/PackedItem.php @@ -122,6 +122,9 @@ public static function fromOrientatedItem(OrientatedItem $orientatedItem, int $x ); } + /** + * @deprecated + */ public function toOrientatedItem(): OrientatedItem { return new OrientatedItem($this->item, $this->width, $this->length, $this->depth);