package and depencies

This commit is contained in:
RafficMohammed
2023-01-08 02:57:24 +05:30
parent d5332eb421
commit 1d54b8bc7f
4309 changed files with 193331 additions and 172289 deletions

View File

@@ -22,8 +22,8 @@ use Symfony\Component\HttpFoundation\Response;
*/
final class ResponseFormatSame extends Constraint
{
private $request;
private $format;
private Request $request;
private ?string $format;
public function __construct(Request $request, ?string $format)
{
@@ -31,9 +31,6 @@ final class ResponseFormatSame extends Constraint
$this->format = $format;
}
/**
* {@inheritdoc}
*/
public function toString(): string
{
return 'format is '.($this->format ?? 'null');
@@ -41,8 +38,6 @@ final class ResponseFormatSame extends Constraint
/**
* @param Response $response
*
* {@inheritdoc}
*/
protected function matches($response): bool
{
@@ -51,8 +46,6 @@ final class ResponseFormatSame extends Constraint
/**
* @param Response $response
*
* {@inheritdoc}
*/
protected function failureDescription($response): string
{
@@ -61,8 +54,6 @@ final class ResponseFormatSame extends Constraint
/**
* @param Response $response
*
* {@inheritdoc}
*/
protected function additionalFailureDescription($response): string
{