Skip to content

Commit b596f77

Browse files
committed
Fixed typo
1 parent 72a0f85 commit b596f77

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/AppBundle/Form/DataTransformer/TagArrayToStringTransformerTest.php

+5-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
class TagArrayToStringTransformerTest extends \PHPUnit\Framework\TestCase
1111
{
12-
1312
/**
1413
* Get a mocked instance of the TagArrayToStringTransformer.
1514
*
@@ -39,12 +38,14 @@ public function getMockedTransformer($findByReturn = [])
3938
* Creates a new TagEntity instance.
4039
*
4140
* @param $name
41+
*
4242
* @return Tag
4343
*/
4444
public function createTag($name)
4545
{
4646
$tag = new Tag();
4747
$tag->setName($name);
48+
4849
return $tag;
4950
}
5051

@@ -104,13 +105,13 @@ public function testUsesAlreadyDefinedTags()
104105
/**
105106
* Tags should be transformed into a string.
106107
*/
107-
public function testTransform () {
108+
public function testTransform()
109+
{
108110
$persisted_tags = [
109111
$this->createTag('Hello'),
110112
$this->createTag('World'),
111113
];
112114
$transformed = $this->getMockedTransformer()->transform($persisted_tags);
113115
$this->assertSame('Hello,World', $transformed);
114116
}
115-
116-
}
117+
}

0 commit comments

Comments
 (0)