Skip to content

Commit

Permalink
Mark unused function as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed Jul 4, 2021
1 parent 23810c1 commit fe0a973
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/PackedItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fe0a973

Please sign in to comment.