diff options
author | Gabriel Rodrigues Couto <gabriel@rodriguescouto.com.br> | 2016-02-23 16:24:36 -0300 |
---|---|---|
committer | Gabriel Rodrigues Couto <gabriel@rodriguescouto.com.br> | 2016-02-23 16:24:36 -0300 |
commit | d3c23581de1a0ce042fe60d36069b1bb083b3543 (patch) | |
tree | a27e81f6aa6ac395af2e0b46cf14a574875d3851 /src/Keyboard.php | |
parent | 5b399e9666871a46c05cb90d6bb1d4d264882cb1 (diff) | |
parent | 2c636f9650a5e15b41ed2837eb897b08b79b0d27 (diff) | |
download | php-terminal-gameboy-emulator-d3c23581de1a0ce042fe60d36069b1bb083b3543.zip php-terminal-gameboy-emulator-d3c23581de1a0ce042fe60d36069b1bb083b3543.tar.gz php-terminal-gameboy-emulator-d3c23581de1a0ce042fe60d36069b1bb083b3543.tar.bz2 |
Merge pull request #19 from henriquemoody/coding_standards
Run PHP-CS-Fixer on codebase
Diffstat (limited to 'src/Keyboard.php')
-rw-r--r-- | src/Keyboard.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Keyboard.php b/src/Keyboard.php index b338c0c..1b0fb68 100644 --- a/src/Keyboard.php +++ b/src/Keyboard.php @@ -1,4 +1,5 @@ <?php + namespace GameBoy; class Keyboard @@ -22,7 +23,7 @@ class Keyboard if (!empty($key)) { $this->keyDown($key); - } else if (!empty($this->keyPressing)) { + } elseif (!empty($this->keyPressing)) { $this->keyUp($this->keyPressing); } |