summaryrefslogtreecommitdiffstats
path: root/src/GameBoy/Cbopcode.php
diff options
context:
space:
mode:
authorCarlos C <uldericofilho@gmail.com>2016-02-21 21:43:29 -0800
committerCarlos C <uldericofilho@gmail.com>2016-02-21 21:43:29 -0800
commit51e54733f4e726f9ed9cce6c068f711b8db8b826 (patch)
tree153f10db9d23b0ffd5b09549675cdaa1293c022e /src/GameBoy/Cbopcode.php
parent5eb01ea29b520a3be3227c3138c1a24bebcf56b3 (diff)
downloadphp-terminal-gameboy-emulator-51e54733f4e726f9ed9cce6c068f711b8db8b826.zip
php-terminal-gameboy-emulator-51e54733f4e726f9ed9cce6c068f711b8db8b826.tar.gz
php-terminal-gameboy-emulator-51e54733f4e726f9ed9cce6c068f711b8db8b826.tar.bz2
Applying psr-2 with phpfmt
Diffstat (limited to 'src/GameBoy/Cbopcode.php')
-rw-r--r--src/GameBoy/Cbopcode.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/GameBoy/Cbopcode.php b/src/GameBoy/Cbopcode.php
index 062a691..5d2990e 100644
--- a/src/GameBoy/Cbopcode.php
+++ b/src/GameBoy/Cbopcode.php
@@ -3,10 +3,10 @@ namespace GameBoy;
class Cbopcode
{
- public $functionsArray = [];
+ public $functionsArray = [];
- public function __construct()
- {
+ public function __construct()
+ {
//#0x00:
$this->functionsArray[] = function ($parentObj) {
$parentObj->FCarry = (($parentObj->registerB & 0x80) == 0x80);
@@ -1136,10 +1136,10 @@ class Cbopcode
$this->functionsArray[] = function ($parentObj) {
$parentObj->registerA |= 0x80;
};
- }
+ }
public function get()
{
return $this->functionsArray;
}
-} \ No newline at end of file
+}