| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function it_respects_theming_logic_while_translating_messages() |
||
| 23 | { |
||
| 24 | $client = $this->getClient(); |
||
| 25 | |||
| 26 | $crawler = $client->request('GET', '/template/:Translation:translationsTest.txt.twig'); |
||
| 27 | |||
| 28 | foreach ($this->getTranslationsLines() as $expectedContent) { |
||
| 29 | $this->assertContains($expectedContent, $crawler->text()); |
||
| 30 | } |
||
| 31 | } |
||
| 32 | |||
| 49 |
This check looks for the generic type
arrayas a return type and suggests a more specific type. This type is inferred from the actual code.