Completed
Pull Request — master (#124)
by
unknown
02:35
created
src/eXpansion/Framework/Core/Model/Gui/Factory/LineFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     public function create($totalWidth, $columns, $index = 0, $height = 5.0, $autoNewLine = false, $maxLines = 1)
59 59
     {
60 60
         $totalCoef
61
-            = ($totalWidth - 1) / array_reduce($columns, function ($carry, $item) {
61
+            = ($totalWidth - 1) / array_reduce($columns, function($carry, $item) {
62 62
                 return $carry + $item['width'];
63 63
             });
64 64
 
Please login to merge, or discard this patch.
src/eXpansion/Framework/Gui/Components/uiInput.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
 
136 136
     public function getHeight()
137 137
     {
138
-        return $this->height+2;
138
+        return $this->height + 2;
139 139
     }
140 140
 
141 141
     /**
Please login to merge, or discard this patch.
src/eXpansion/Framework/Gui/Components/uiCheckbox.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,9 +66,9 @@
 block discarded – undo
66 66
     public function render(\DOMDocument $domDocument)
67 67
     {
68 68
         $containerFrame = new Frame();
69
-        $containerFrame->setPosition($this->posX-1, $this->posY+1)
69
+        $containerFrame->setPosition($this->posX - 1, $this->posY + 1)
70 70
             ->setZ($this->posZ)
71
-            ->setSize($this->getWidth(), $this->getHeight()+1)
71
+            ->setSize($this->getWidth(), $this->getHeight() + 1)
72 72
             ->setScale($this->scale)
73 73
             ->addClasses(['uiContainer', 'uiCheckbox'])
74 74
             ->addDataAttribute('checked', $this->isChecked() ? "1" : "0")
Please login to merge, or discard this patch.