Passed
Push — master ( 882fbb...948f7b )
by Serhii
03:06
created
src/Keyboard/AbstractKeyboard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
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];
Please login to merge, or discard this patch.
src/Exception/WrongStorageException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Exception/WrongKeyboardException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
demo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,4 +22,4 @@
 block discarded – undo
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']);
Please login to merge, or discard this patch.