Skip to content

Commit b6cf9c9

Browse files
committed
Fix code
1 parent 85c39d6 commit b6cf9c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Unit/Doctrine/ORM/ElasticaToModelTransformerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,6 @@ public function testUsesHintsConfigurationIfGiven()
152152
$method = $class->getMethod('findByIdentifiers');
153153
$method->setAccessible(true);
154154

155-
$method->invokeArgs($transformer, [[1, 2, 3], /* $hydrate */true]);
155+
$method->invokeArgs($transformer, [[1, 2, 3], /* $hydrate */ true]);
156156
}
157157
}

tests/Unit/Persister/InPlacePagerPersisterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public function testShouldDispatchPostPersistEventWithExpectedArguments()
189189
$pager = $this->createPager($objects);
190190

191191
$called = false;
192-
$dispatcher->addListener(PostPersistEvent::class, function ($event) use (&$called, $pager, $objectPersisterMock, $objects, $options) {
192+
$dispatcher->addListener(PostPersistEvent::class, function ($event) use (&$called, $pager, $objectPersisterMock, $options) {
193193
$called = true;
194194

195195
$this->assertInstanceOf(PostPersistEvent::class, $event);

0 commit comments

Comments
 (0)