Skip to content

Commit 5588d47

Browse files
committed
code style fixed
1 parent fdc9ddc commit 5588d47

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

tests/TypedObjectArrayTest.php

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,15 @@ public function testCreateInstanceWithRightTypedArray()
4242
{
4343
$this->assertInstanceOf(
4444
TypedObjectArray::class,
45-
(new TypedObjectArray(
46-
ArrayObject::class, [
45+
(
46+
new TypedObjectArray(
47+
ArrayObject::class,
48+
[
4749
new ArrayObject([1, 2, 3]),
4850
new ArrayObject([1.1, 2.2, 3.3]),
4951
new ArrayObject(['a', 'b', 'c']),
50-
])
52+
]
53+
)
5154
)
5255
);
5356
}
@@ -61,12 +64,15 @@ public function testCreateInstanceWithWrongTypedArray()
6164
{
6265
$this->assertInstanceOf(
6366
TypedObjectArray::class,
64-
(new TypedObjectArray(
65-
ArrayObject::class, [
67+
(
68+
new TypedObjectArray(
69+
ArrayObject::class,
70+
[
6671
new ArrayObject([1, 2, 3]),
6772
new ArrayObject([1.1, 2.2, 3.3]),
6873
new SplStack(),
69-
])
74+
]
75+
)
7076
)
7177
);
7278
}

0 commit comments

Comments
 (0)