mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
apply rules rector up to php82
This commit is contained in:
@@ -66,11 +66,11 @@ final class SummaryBudgetTest extends TestCase
|
||||
$em = $this->prophesize(EntityManagerInterface::class);
|
||||
$em->createNativeQuery(Argument::type('string'), Argument::type(Query\ResultSetMapping::class))
|
||||
->will(static function ($args) use ($queryResources, $queryCharges) {
|
||||
if (str_contains($args[0], 'chill_budget.resource')) {
|
||||
if (str_contains((string) $args[0], 'chill_budget.resource')) {
|
||||
return $queryResources->reveal();
|
||||
}
|
||||
|
||||
if (str_contains($args[0], 'chill_budget.charge')) {
|
||||
if (str_contains((string) $args[0], 'chill_budget.charge')) {
|
||||
return $queryCharges->reveal();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user