| Conditions | 1 |
| Paths | 1 |
| Total Lines | 22 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | function let() |
||
|
|
|||
| 16 | { |
||
| 17 | $this->beConstructedWith( |
||
| 18 | 'combined_dictionary', |
||
| 19 | new Dictionary\Simple( |
||
| 20 | 'dictionary1', |
||
| 21 | [ |
||
| 22 | 'foo' => 1, |
||
| 23 | 'bar' => 2, |
||
| 24 | ] |
||
| 25 | ), |
||
| 26 | new Dictionary\Simple( |
||
| 27 | 'dictionary2', |
||
| 28 | [ |
||
| 29 | 'bar' => 3, |
||
| 30 | 'baz' => 4, |
||
| 31 | ] |
||
| 32 | ), |
||
| 33 | new Dictionary\Simple( |
||
| 34 | 'dictionary3', |
||
| 35 | [ |
||
| 36 | 'baz' => 5, |
||
| 37 | ] |
||
| 61 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.