@@ -53,8 +53,7 @@ discard block |
||
| 53 | 53 | * Class MemoryStorage |
| 54 | 54 | * @package Platine\Lang\Storage |
| 55 | 55 | */ |
| 56 | -class MemoryStorage implements StorageInterface |
|
| 57 | -{ |
|
| 56 | +class MemoryStorage implements StorageInterface { |
|
| 58 | 57 | |
| 59 | 58 | /** |
| 60 | 59 | * The configuration instance |
@@ -90,8 +89,7 @@ discard block |
||
| 90 | 89 | * Create new instance |
| 91 | 90 | * @param Configuration|null $config |
| 92 | 91 | */ |
| 93 | - public function __construct(?Configuration $config = null) |
|
| 94 | - { |
|
| 92 | + public function __construct(?Configuration $config = null) { |
|
| 95 | 93 | $this->config = $config ?? new Configuration([]); |
| 96 | 94 | $this->domain = $this->config->get('domain'); |
| 97 | 95 | $this->encoding = $this->config->get('encoding'); |
@@ -54,8 +54,7 @@ |
||
| 54 | 54 | * Class BaseTranslator |
| 55 | 55 | * @package Platine\Lang\Translator |
| 56 | 56 | */ |
| 57 | -abstract class BaseTranslator implements TranslatorInterface |
|
| 58 | -{ |
|
| 57 | +abstract class BaseTranslator implements TranslatorInterface { |
|
| 59 | 58 | |
| 60 | 59 | /** |
| 61 | 60 | * The configuration instance |