@@ -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 |
@@ -43,7 +43,7 @@ |
||
43 | 43 | $this->mailer->send(Argument::type(\Swift_Message::class))->shouldBeCalled(); |
44 | 44 | |
45 | 45 | $closureExceuted = false; |
46 | - $this->fixture->send($message, function (\Swift_Message $message) use (&$closureExceuted) { |
|
46 | + $this->fixture->send($message, function(\Swift_Message $message) use (&$closureExceuted) { |
|
47 | 47 | // from |
48 | 48 | $this->assertEquals(['[email protected]' => 'from'], $message->getFrom()); |
49 | 49 | // reply-to |
@@ -16,19 +16,19 @@ |
||
16 | 16 | $fixture->addTo('[email protected]', 'user1'); |
17 | 17 | $this->assertEquals(['[email protected]' => 'user1'], $fixture->getTo()); |
18 | 18 | $fixture->addTo('[email protected]', 'user2'); |
19 | - $this->assertEquals(['[email protected]' => 'user1', '[email protected]' => 'user2',], $fixture->getTo()); |
|
19 | + $this->assertEquals(['[email protected]' => 'user1', '[email protected]' => 'user2', ], $fixture->getTo()); |
|
20 | 20 | |
21 | 21 | $this->assertEmpty($fixture->getCc()); |
22 | 22 | $fixture->addCc('[email protected]', 'user1'); |
23 | 23 | $this->assertEquals(['[email protected]' => 'user1'], $fixture->getCc()); |
24 | 24 | $fixture->addCc('[email protected]', 'user2'); |
25 | - $this->assertEquals(['[email protected]' => 'user1', '[email protected]' => 'user2',], $fixture->getCc()); |
|
25 | + $this->assertEquals(['[email protected]' => 'user1', '[email protected]' => 'user2', ], $fixture->getCc()); |
|
26 | 26 | |
27 | 27 | $this->assertEmpty($fixture->getBcc()); |
28 | 28 | $fixture->addBcc('[email protected]', 'user1'); |
29 | 29 | $this->assertEquals(['[email protected]' => 'user1'], $fixture->getBcc()); |
30 | 30 | $fixture->addBcc('[email protected]', 'user2'); |
31 | - $this->assertEquals(['[email protected]' => 'user1', '[email protected]' => 'user2',], $fixture->getBcc()); |
|
31 | + $this->assertEquals(['[email protected]' => 'user1', '[email protected]' => 'user2', ], $fixture->getBcc()); |
|
32 | 32 | |
33 | 33 | $this->assertEmpty($fixture->getReplyTo()); |
34 | 34 | $fixture->setReplyTo('[email protected]'); |
@@ -14,7 +14,7 @@ |
||
14 | 14 | */ |
15 | 15 | public function load(array $configs, ContainerBuilder $container) |
16 | 16 | { |
17 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
17 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
18 | 18 | $loader->load('config.xml'); |
19 | 19 | |
20 | 20 | $configuration = new Configuration(); |