@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | class ChainMail |
28 | 28 | { |
29 | 29 | |
30 | - const DEFAULT_CONFIG = __DIR__ . '/../config/defaults.php'; |
|
30 | + const DEFAULT_CONFIG = __DIR__.'/../config/defaults.php'; |
|
31 | 31 | |
32 | 32 | /** |
33 | 33 | * Configuration Settings. |
@@ -57,8 +57,8 @@ discard block |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | $this->config = new Config(array_merge( |
60 | - (array)$defaults, |
|
61 | - (array)$config) |
|
60 | + (array) $defaults, |
|
61 | + (array) $config) |
|
62 | 62 | ); |
63 | 63 | } |
64 | 64 |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * specific view to be rendered. |
23 | 23 | */ |
24 | 24 | 'view_root_locations' => [ |
25 | - 'default' => realpath(__DIR__ . '/../views'), |
|
25 | + 'default' => realpath(__DIR__.'/../views'), |
|
26 | 26 | ], |
27 | 27 | |
28 | 28 | /* |
@@ -155,7 +155,7 @@ |
||
155 | 155 | if ( ! $template instanceof Template) { |
156 | 156 | throw new InvalidTemplate( |
157 | 157 | 'Could not set the template, invalid type.', |
158 | - (array)$template |
|
158 | + (array) $template |
|
159 | 159 | ); |
160 | 160 | } |
161 | 161 | $this->template = $template; |
@@ -155,6 +155,6 @@ |
||
155 | 155 | protected function getViewName(array $context) |
156 | 156 | { |
157 | 157 | return $this->config['templates'][$this->getTemplateName()]['view_name'] |
158 | - . '.' . $context['format']; |
|
158 | + . '.'.$context['format']; |
|
159 | 159 | } |
160 | 160 | } |
@@ -155,6 +155,6 @@ |
||
155 | 155 | protected function getViewName(array $context) |
156 | 156 | { |
157 | 157 | return $this->config['templates'][$this->getTemplateName()]['view_name'] |
158 | - . '.' . $context['format']; |
|
158 | + . '.'.$context['format']; |
|
159 | 159 | } |
160 | 160 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | throw InvalidDomain::from($domain); |
45 | 45 | } |
46 | 46 | |
47 | - $this->domain = (string)$domain; |
|
47 | + $this->domain = (string) $domain; |
|
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | */ |
94 | 94 | public function getAddress() |
95 | 95 | { |
96 | - return $this->getLocalPart() . '@' . $this->getDomain(); |
|
96 | + return $this->getLocalPart().'@'.$this->getDomain(); |
|
97 | 97 | } |
98 | 98 | |
99 | 99 | /** |
@@ -115,6 +115,6 @@ discard block |
||
115 | 115 | */ |
116 | 116 | protected function isValid($email) |
117 | 117 | { |
118 | - return (bool)filter_var($email, FILTER_VALIDATE_EMAIL); |
|
118 | + return (bool) filter_var($email, FILTER_VALIDATE_EMAIL); |
|
119 | 119 | } |
120 | 120 | } |
121 | 121 | \ No newline at end of file |