diff --git a/src/Game/Game.php b/src/Game/Game.php index ddb37b3..66cb382 100644 --- a/src/Game/Game.php +++ b/src/Game/Game.php @@ -46,7 +46,7 @@ class Game { } } - throw new \RuntimeException("piece not found: " . $piece); + throw new \RuntimeException("piece not found: " . $needle); } private function removePiece(Piece $needle): void {