mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix psalm errors
This commit is contained in:
parent
b5a9dac62e
commit
75f69859e6
@ -253,7 +253,7 @@ class ExportAddressHelper
|
||||
return 0;
|
||||
|
||||
default:
|
||||
throw new LogicException('this value is not supported for ' . $sanitizedKey . ': ' . $val);
|
||||
throw new LogicException('this value is not supported for ' . $sanitizedKey . ': ' . $value);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -680,10 +680,12 @@ final class ExportManagerTest extends KernelTestCase
|
||||
|
||||
return new ExportManager(
|
||||
$logger ?? self::$container->get('logger'),
|
||||
$em ?? self::$container->get('doctrine.orm.entity_manager'),
|
||||
$authorizationChecker ?? self::$container->get('security.authorization_checker'),
|
||||
$authorizationHelper ?? self::$container->get('chill.main.security.authorization.helper'),
|
||||
$tokenStorage
|
||||
$tokenStorage,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -187,7 +187,7 @@ class ListPerson implements ExportElementValidatedInterface, ListInterface, Grou
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array{fields: string[], address_date: DateTimeImmutable} $data
|
||||
* param array{fields: string[], address_date: DateTimeImmutable} $data
|
||||
*/
|
||||
public function initiateQuery(array $requiredModifiers, array $acl, array $data = [])
|
||||
{
|
||||
|
@ -155,7 +155,7 @@ class ListPersonWithAccompanyingPeriod implements ExportElementValidatedInterfac
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array{fields: string[], address_date: DateTimeImmutable} $data
|
||||
* param array{fields: string[], address_date: DateTimeImmutable} $data
|
||||
*/
|
||||
public function initiateQuery(array $requiredModifiers, array $acl, array $data = [])
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user