Skip to content

Commit

Permalink
Update deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiktor6 committed Jun 7, 2024
1 parent c9d8c8e commit da91a08
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
'strict_param' => false,
'array_syntax' => ['syntax' => 'short'],
'concat_space' => ['spacing' => 'one'],
'phpdoc_align' => [],
'phpdoc_align' => ['align' => 'left'],
'phpdoc_summary' => false,
'void_return' => false,
'phpdoc_var_without_name' => false,
Expand Down
2 changes: 1 addition & 1 deletion src/Response/DTO/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Error implements DenormalizableInterface
public array $validations = [];
public int $code;

public function denormalize(DenormalizerInterface $denormalizer, $data, $format = null, array $context = [])
public function denormalize(DenormalizerInterface $denormalizer, $data, $format = null, array $context = []): void
{
$this->validations = empty($data['Validations'])
? []
Expand Down
2 changes: 1 addition & 1 deletion src/Response/ParcelShopsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function denormalize(
$data,
$format = null,
array $context = []
) {
): void {
$this->data = empty($data['data'])
? []
: $denormalizer->denormalize(
Expand Down
2 changes: 1 addition & 1 deletion src/Response/PlacesResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function denormalize(
$data,
$format = null,
array $context = []
) {
): void {
$this->data = empty($data['data'])
? []
: $denormalizer->denormalize(
Expand Down

0 comments on commit da91a08

Please sign in to comment.