Skip to content

Commit e8c4527

Browse files
Merge branch '7.2' into 7.3
* 7.2: - - CS fixes
1 parent 734ceb9 commit e8c4527

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Tests/JsonStreamWriterTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
use Symfony\Component\JsonStreamer\Tests\Fixtures\Model\DummyWithPhpDoc;
2626
use Symfony\Component\JsonStreamer\Tests\Fixtures\Model\DummyWithUnionProperties;
2727
use Symfony\Component\JsonStreamer\Tests\Fixtures\Model\DummyWithValueTransformerAttributes;
28-
use Symfony\Component\JsonStreamer\Tests\Fixtures\Model\JsonStreamableDummy;
2928
use Symfony\Component\JsonStreamer\Tests\Fixtures\Model\SelfReferencingDummy;
3029
use Symfony\Component\JsonStreamer\Tests\Fixtures\ValueTransformer\BooleanToStringValueTransformer;
3130
use Symfony\Component\JsonStreamer\Tests\Fixtures\ValueTransformer\DoubleIntAndCastToStringValueTransformer;

Write/StreamWriterGenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ private function createDataModel(Type $type, DataAccessorInterface $accessor, ar
185185
return new CollectionNode(
186186
$accessor,
187187
$type,
188-
$this->createDataModel($type->getCollectionValueType(), new VariableDataAccessor('value' . $context['depth']), $options, $context),
189-
$this->createDataModel($type->getCollectionKeyType(), new VariableDataAccessor('key' . $context['depth']), $options, $context),
188+
$this->createDataModel($type->getCollectionValueType(), new VariableDataAccessor('value'.$context['depth']), $options, $context),
189+
$this->createDataModel($type->getCollectionKeyType(), new VariableDataAccessor('key'.$context['depth']), $options, $context),
190190
);
191191
}
192192

0 commit comments

Comments
 (0)