@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | |
20 | 20 | /** |
21 | 21 | * @param XsdValidator $validator |
22 | - * @param $xsdFile |
|
22 | + * @param string $xsdFile |
|
23 | 23 | */ |
24 | 24 | public function __construct(XsdValidator $validator, $xsdFile) |
25 | 25 | { |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | * @param string $string |
115 | 115 | * @param bool $removeThatShit |
116 | 116 | * |
117 | - * @return mixed |
|
117 | + * @return string |
|
118 | 118 | */ |
119 | 119 | protected function multilineRemoveIndent($string, $removeThatShit = false) |
120 | 120 | { |
@@ -87,7 +87,7 @@ |
||
87 | 87 | |
88 | 88 | |
89 | 89 | /** |
90 | - * @param null $locale |
|
90 | + * @param string $locale |
|
91 | 91 | * @param array $defaults |
92 | 92 | * |
93 | 93 | * @return SystemMailer |
@@ -30,8 +30,7 @@ |
||
30 | 30 | try { |
31 | 31 | $container->get('system_mailer')->send('HautziSystemMail:test'); |
32 | 32 | $this->fail('fetching a mail that does nox exist should throw an exception.'); |
33 | - } |
|
34 | - catch (\InvalidArgumentException $e) { |
|
33 | + } catch (\InvalidArgumentException $e) { |
|
35 | 34 | $this->assertContains('@HautziSystemMailBundle/Resources/emails/test.xml.twig', $e->getMessage()); |
36 | 35 | } |
37 | 36 | } |