update patch 1
This commit is contained in:
@@ -26,7 +26,7 @@ final class EmailAddressContains extends Constraint
|
||||
|
||||
public function toString(): string
|
||||
{
|
||||
return sprintf('contains address "%s" with value "%s"', $this->headerName, $this->expectedValue);
|
||||
return \sprintf('contains address "%s" with value "%s"', $this->headerName, $this->expectedValue);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -59,6 +59,6 @@ final class EmailAddressContains extends Constraint
|
||||
*/
|
||||
protected function failureDescription($message): string
|
||||
{
|
||||
return sprintf('the Email %s (value is %s)', $this->toString(), $message->getHeaders()->get($this->headerName)->getBodyAsString());
|
||||
return \sprintf('the Email %s (value is %s)', $this->toString(), $message->getHeaders()->get($this->headerName)->getBodyAsString());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user