@@ -36,7 +36,7 @@ |
||
| 36 | 36 | */ |
| 37 | 37 | public function getKey(string $key): array |
| 38 | 38 | { |
| 39 | - if(!array_key_exists($key, $this->keys)) { |
|
| 39 | + if (!array_key_exists($key, $this->keys)) { |
|
| 40 | 40 | throw new KeyNotFoundException($key); |
| 41 | 41 | } |
| 42 | 42 | return $this->keys[$key]; |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | { |
| 15 | 15 | public function __construct(string $classname) |
| 16 | 16 | { |
| 17 | - parent::__construct(sprintf('Storage "%s" not implements "%s" interface', $classname,ITyposStorage::class), 1, null); |
|
| 17 | + parent::__construct(sprintf('Storage "%s" not implements "%s" interface', $classname, ITyposStorage::class), 1, null); |
|
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | } |
| 21 | 21 | \ No newline at end of file |
@@ -14,6 +14,6 @@ |
||
| 14 | 14 | { |
| 15 | 15 | public function __construct(string $classname) |
| 16 | 16 | { |
| 17 | - parent::__construct(sprintf('Keyboard "%s" not implements "%s" interface', $classname,IKeyboard::class), 1, null); |
|
| 17 | + parent::__construct(sprintf('Keyboard "%s" not implements "%s" interface', $classname, IKeyboard::class), 1, null); |
|
| 18 | 18 | } |
| 19 | 19 | } |
| 20 | 20 | \ No newline at end of file |
@@ -22,4 +22,4 @@ |
||
| 22 | 22 | |
| 23 | 23 | /** @var $listResult array |
| 24 | 24 | List of \SerhiiMe\Typos\Storage\ArrayTyposStorage objects */ |
| 25 | -$listResult = $generator->generate(['house','abandoned']); |
|
| 25 | +$listResult = $generator->generate(['house', 'abandoned']); |
|