Kleine Korrekturen wegen PHP 8.1
This commit is contained in:
@@ -8,13 +8,8 @@ class HttpConflictRequestException extends HttpSpecializedException
|
||||
{
|
||||
/** @var int */
|
||||
protected $code = 409;
|
||||
|
||||
/** @var string */
|
||||
protected $message = 'Conflict.';
|
||||
|
||||
/** @var string */
|
||||
protected $title = '409 Conflict';
|
||||
|
||||
/** @var string */
|
||||
protected $description = 'The 409 (Conflict) status code indicates that the request could not be completed due to a conflict with the current state of the target resource.';
|
||||
protected string $title = '409 Conflict';
|
||||
protected string $description = 'The 409 (Conflict) status code indicates that the request could not be completed due to a conflict with the current state of the target resource.';
|
||||
}
|
||||
|
||||
@@ -51,6 +51,7 @@ class WorkingHoursControllerTest extends Unit
|
||||
'write' => function (mixed $data) {
|
||||
$this->assertIsString($data);
|
||||
$this->assertJson($data);
|
||||
return strlen($data);
|
||||
},
|
||||
]),
|
||||
'withHeader' => $this->makeEmpty(Response::class, [
|
||||
|
||||
@@ -35,6 +35,7 @@ class WorkingHoursViewControllerTest extends Unit
|
||||
'write' => function (mixed $data) {
|
||||
$this->assertIsString($data);
|
||||
$this->assertJson($data);
|
||||
return strlen($data);
|
||||
},
|
||||
]),
|
||||
'withHeader' => $this->makeEmpty(Response::class, [
|
||||
|
||||
@@ -38,6 +38,7 @@ class ErrorHandlerTest extends Unit
|
||||
'write' => function (mixed $data) {
|
||||
$this->assertIsString($data);
|
||||
$this->assertJson($data);
|
||||
return strlen($data);
|
||||
},
|
||||
]),
|
||||
]),
|
||||
|
||||
Reference in New Issue
Block a user