@@ -116,6 +116,9 @@ discard block |
||
116 | 116 | new ConfigurationFactory(['this_is_not_a_strategy'], []); |
117 | 117 | } |
118 | 118 | |
119 | + /** |
|
120 | + * @param string $content |
|
121 | + */ |
|
119 | 122 | private function givenExampleConfigurationFileWithContent($content): string |
120 | 123 | { |
121 | 124 | vfsStream::newFile('foo.xml') |
@@ -125,6 +128,10 @@ discard block |
||
125 | 128 | return vfsStream::url('dir/foo.xml'); |
126 | 129 | } |
127 | 130 | |
131 | + /** |
|
132 | + * @param string[] $expectedInputValue |
|
133 | + * @param string[] $returnValue |
|
134 | + */ |
|
128 | 135 | private function givenAMiddlewareThatReturns($expectedInputValue, $returnValue): \Closure |
129 | 136 | { |
130 | 137 | return function ($value) use ($expectedInputValue, $returnValue) { |
@@ -134,6 +141,9 @@ discard block |
||
134 | 141 | }; |
135 | 142 | } |
136 | 143 | |
144 | + /** |
|
145 | + * @param string[] $result |
|
146 | + */ |
|
137 | 147 | private function givenAValidStrategyThatReturns($result): Strategy |
138 | 148 | { |
139 | 149 | /** @var m\Mock $strategy */ |