Skip to content

Commit

Permalink
PHP-CS-Fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienHarper committed Dec 8, 2024
1 parent 2fd99aa commit c6a064b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/Provider/Doctrine/Persistence/Reader/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use DH\Auditor\Exception\AccessDeniedException;
use DH\Auditor\Exception\InvalidArgumentException;
use DH\Auditor\Model\Entry;
use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Security;
use DH\Auditor\Provider\Doctrine\Configuration;
use DH\Auditor\Provider\Doctrine\DoctrineProvider;
Expand Down Expand Up @@ -116,7 +117,7 @@ public function getAuditsByTransactionHash(string $transactionHash): array
}

/**
* @return array{results: \ArrayIterator<int|string, \DH\Auditor\Model\Entry>, currentPage: int, hasPreviousPage: bool, hasNextPage: bool, previousPage: null|int, nextPage: null|int, numPages: int, haveToPaginate: bool, numResults: int, pageSize: int}
* @return array{results: \ArrayIterator<int|string, Entry>, currentPage: int, hasPreviousPage: bool, hasNextPage: bool, previousPage: null|int, nextPage: null|int, numPages: int, haveToPaginate: bool, numResults: int, pageSize: int}
*/
public function paginate(Query $query, int $page = 1, ?int $pageSize = null): array
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Event/LifecycleEventTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final class LifecycleEventTest extends TestCase
use AuditorTrait;

/**
* @var array<string, class-string<\DH\Auditor\EventSubscriber\AuditEventSubscriber>|string>
* @var array<string, class-string<AuditEventSubscriber>|string>
*/
private const PAYLOAD = [
'entity' => AuditEventSubscriber::class,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class CreateSchemaListenerTest extends TestCase
use DefaultSchemaSetupTrait;

/**
* @var array<class-string<\DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Inheritance\Joined\Animal>>
* @var array<class-string<Animal>>
*/
private const CLASSES = [Dog::class, Cat::class];

Expand Down

0 comments on commit c6a064b

Please sign in to comment.