1111
1212final class CombinedSpec extends ObjectBehavior
1313{
14- function let (Dictionary $ dictionary1 , Dictionary $ dictionary2 , Dictionary $ dictionary3 )
15- {
14+ function let (
15+ Dictionary $ dictionary1 ,
16+ Dictionary $ dictionary2 ,
17+ Dictionary $ dictionary3
18+ ) {
1619 $ this ->beConstructedWith (
1720 'combined_dictionary ' ,
1821 $ dictionary1 ,
@@ -31,8 +34,11 @@ function it_is_a_dictionary()
3134 $ this ->shouldImplement (Dictionary::class);
3235 }
3336
34- function it_access_to_value_like_an_array ($ dictionary1 , $ dictionary2 , $ dictionary3 )
35- {
37+ function it_access_to_value_like_an_array (
38+ $ dictionary1 ,
39+ $ dictionary2 ,
40+ $ dictionary3
41+ ) {
3642 $ dictionary1 ->getIterator ()->willReturn (new ArrayIterator (['foo1 ' => 'foo10 ' ]));
3743
3844 $ dictionary2 ->getIterator ()->willReturn (new ArrayIterator (['bar1 ' => 'bar10 ' ]));
@@ -44,8 +50,11 @@ function it_access_to_value_like_an_array($dictionary1, $dictionary2, $dictionar
4450 $ this ['baz1 ' ]->shouldBe ('baz10 ' );
4551 }
4652
47- function it_getvalues_should_return_dictionaries_values ($ dictionary1 , $ dictionary2 , $ dictionary3 )
48- {
53+ function it_getvalues_should_return_dictionaries_values (
54+ $ dictionary1 ,
55+ $ dictionary2 ,
56+ $ dictionary3
57+ ) {
4958 $ dictionary1 ->getIterator ()->willReturn (new ArrayIterator ([
5059 'foo1 ' => 'foo10 ' ,
5160 'foo2 ' => 'foo20 ' ,
@@ -75,8 +84,11 @@ function it_getvalues_should_return_dictionaries_values($dictionary1, $dictionar
7584 ]);
7685 }
7786
78- function it_can_iterate_over_dictionaries ($ dictionary1 , $ dictionary2 , $ dictionary3 )
79- {
87+ function it_can_iterate_over_dictionaries (
88+ $ dictionary1 ,
89+ $ dictionary2 ,
90+ $ dictionary3
91+ ) {
8092 $ dictionary1 ->getIterator ()->willReturn (new ArrayIterator ([
8193 'foo1 ' => 'foo10 ' ,
8294 'foo2 ' => 'foo20 ' ,
@@ -100,8 +112,11 @@ function it_can_iterate_over_dictionaries($dictionary1, $dictionary2, $dictionar
100112 ]);
101113 }
102114
103- function it_sums_the_count_of_elements ($ dictionary1 , $ dictionary2 , $ dictionary3 )
104- {
115+ function it_sums_the_count_of_elements (
116+ $ dictionary1 ,
117+ $ dictionary2 ,
118+ $ dictionary3
119+ ) {
105120 $ dictionary1 ->getIterator ()->willReturn (new ArrayIterator ([
106121 'foo1 ' => 'foo10 ' ,
107122 ]));
0 commit comments