Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattamon committed Apr 9, 2024
1 parent bf0bb78 commit 084abff
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/Config/OpenApi/Security.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

/**
* Pimcore
Expand Down
1 change: 1 addition & 0 deletions src/Config/OpenApi/Spec.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

/**
* Pimcore
Expand Down
1 change: 1 addition & 0 deletions src/Config/OpenApi/Tags.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

/**
* Pimcore
Expand Down
1 change: 1 addition & 0 deletions src/Controller/Api/OpenApiController.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

/**
* Pimcore
Expand Down
1 change: 1 addition & 0 deletions src/Controller/Trait/PaginatedResponseTrait.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

/**
* Pimcore
Expand Down
15 changes: 13 additions & 2 deletions src/Dto/Unauthorized.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

/**
* Pimcore
Expand All @@ -25,6 +26,16 @@
)]
final readonly class Unauthorized
{
#[Property(description: 'Message', type: 'string')]
public string $message;
public function __construct(
#[Property(description: 'Message', type: 'string')]
private string $message
)
{

}

public function getMessage(): string
{
return $this->message;
}
}
1 change: 1 addition & 0 deletions src/Service/DataObjectSearchService.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

/**
* Pimcore
Expand Down
1 change: 1 addition & 0 deletions src/Service/DataObjectSearchServiceInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

/**
* Pimcore
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

/**
* Pimcore
Expand Down
1 change: 1 addition & 0 deletions src/Service/GenericData/V1/DataObjectQueryProvider.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

/**
* Pimcore
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

/**
* Pimcore
Expand Down
1 change: 1 addition & 0 deletions src/Service/GenericData/V1/DataObjectSearchAdapter.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

/**
* Pimcore
Expand Down

0 comments on commit 084abff

Please sign in to comment.