Skip to content

Commit

Permalink
Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Dec 2, 2024
1 parent 252b7d8 commit 8a2f2c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Error/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ private function updateRepr(): void
}

if ($this->name) {
$name = \sprintf('"%s"', $this->name);
$this->message .= \sprintf(' in %s', $name);
$this->message .= \sprintf(' in "%s"', $this->name);
}

if ($this->lineno && $this->lineno >= 0) {
Expand Down

0 comments on commit 8a2f2c0

Please sign in to comment.