mirror of
https://github.com/sigmasternchen/php-chess
synced 2025-03-14 23:58:53 +00:00
fix: Wrong piece in error message
This commit is contained in:
parent
a98fb64975
commit
a17a2eda9a
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue