@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | /** |
5 | 5 | * Balloon |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | /** |
5 | 5 | * Balloon |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * Balloon |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | throw new Exception('soffice option must be a path to an executable office suite'); |
148 | 148 | } |
149 | 149 | |
150 | - $this->soffice = (string) $value; |
|
150 | + $this->soffice = (string)$value; |
|
151 | 151 | |
152 | 152 | break; |
153 | 153 | case 'tmp': |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | throw new Exception('tmp option must be a writable directory'); |
156 | 156 | } |
157 | 157 | |
158 | - $this->tmp = (string) $value; |
|
158 | + $this->tmp = (string)$value; |
|
159 | 159 | |
160 | 160 | break; |
161 | 161 | case 'timeout': |
@@ -163,11 +163,11 @@ discard block |
||
163 | 163 | throw new Exception('timeout option must be a number'); |
164 | 164 | } |
165 | 165 | |
166 | - $this->timeout = (string) $value; |
|
166 | + $this->timeout = (string)$value; |
|
167 | 167 | |
168 | 168 | break; |
169 | 169 | case 'preview_max_size': |
170 | - $this->preview_max_size = (int) $value; |
|
170 | + $this->preview_max_size = (int)$value; |
|
171 | 171 | |
172 | 172 | break; |
173 | 173 | default: |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * Balloon |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | * |
74 | 74 | * @return AdapterAwareInterface |
75 | 75 | */ |
76 | - public function injectAdapter($adapter, ?string $name = null): AdapterAwareInterface |
|
76 | + public function injectAdapter($adapter, ?string $name = null) : AdapterAwareInterface |
|
77 | 77 | { |
78 | 78 | if (!($adapter instanceof AppInterface)) { |
79 | 79 | throw new Exception('adapter needs to implement AppInterface'); |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | /** |
5 | 5 | * Balloon |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | /** |
5 | 5 | * Balloon |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * Balloon |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | * |
41 | 41 | * @return Mime |
42 | 42 | */ |
43 | - public function setOptions(?Iterable $config = null): self |
|
43 | + public function setOptions(?Iterable $config = null) : self |
|
44 | 44 | { |
45 | 45 | if (null === $config) { |
46 | 46 | return $this; |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | foreach ($config as $option => $value) { |
50 | 50 | switch ($option) { |
51 | 51 | case 'db': |
52 | - $this->db = (string) $value; |
|
52 | + $this->db = (string)$value; |
|
53 | 53 | |
54 | 54 | break; |
55 | 55 | default: |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * Balloon |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * |
67 | 67 | * @return Converter |
68 | 68 | */ |
69 | - public function setOptions(? Iterable $config = null): self |
|
69 | + public function setOptions(? Iterable $config = null) : self |
|
70 | 70 | { |
71 | 71 | if (null === $config) { |
72 | 72 | return $this; |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | * |
118 | 118 | * @return AdapterInterface |
119 | 119 | */ |
120 | - public function injectAdapter($adapter, ?string $name = null): AdapterAwareInterface |
|
120 | + public function injectAdapter($adapter, ?string $name = null) : AdapterAwareInterface |
|
121 | 121 | { |
122 | 122 | if (!($adapter instanceof AdapterInterface)) { |
123 | 123 | throw new Exception('adapter needs to implement AdapterInterface'); |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | /** |
5 | 5 | * Balloon |