Skip to content

Commit 1cca266

Browse files
committed
QA: fix code types
1 parent 40bbc7e commit 1cca266

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/Bootstrap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public static function boot(): ExtraConfigurator
1717
// Disable default extensions
1818
unset($configurator->defaultExtensions['security']);
1919

20+
// @phpstan-ignore-next-line
2021
$configurator->onCompile[] = function (ExtraConfigurator $configurator, Compiler $compiler): void {
2122
// Add env variables to config structure
2223
$compiler->addConfig(['parameters' => $configurator->getEnvironmentParameters()]);

app/Domain/User/UserRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
/**
88
* @method User|NULL find($id, ?int $lockMode = NULL, ?int $lockVersion = NULL)
9-
* @method User|NULL findOneBy(array $criteria, array $orderBy = NULL)
9+
* @method User|NULL findOneBy($criteria, $orderBy = NULL)
1010
* @method User[] findAll()
11-
* @method User[] findBy(array $criteria, array $orderBy = NULL, ?int $limit = NULL, ?int $offset = NULL)
11+
* @method User[] findBy($criteria, $orderBy = NULL, ?int $limit = NULL, ?int $offset = NULL)
1212
* @extends AbstractRepository<User>
1313
*/
1414
class UserRepository extends AbstractRepository

0 commit comments

Comments
 (0)