Skip to content

Commit 8c3a86b

Browse files
committed
Fix style
1 parent 1bfb4e5 commit 8c3a86b

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

src/JsPhpize/Compiler/Compiler.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,15 @@
55
use JsPhpize\JsPhpize;
66
use JsPhpize\Nodes\Assignation;
77
use JsPhpize\Nodes\Block;
8-
use JsPhpize\Nodes\Value;
98
use JsPhpize\Nodes\BracketsArray;
109
use JsPhpize\Nodes\Constant;
1110
use JsPhpize\Nodes\Dyiade;
12-
use JsPhpize\Nodes\Instruction;
1311
use JsPhpize\Nodes\FunctionCall;
1412
use JsPhpize\Nodes\HooksArray;
15-
use JsPhpize\Nodes\Main;
13+
use JsPhpize\Nodes\Instruction;
1614
use JsPhpize\Nodes\Node;
1715
use JsPhpize\Nodes\Parenthesis;
16+
use JsPhpize\Nodes\Value;
1817
use JsPhpize\Nodes\Variable;
1918

2019
class Compiler
@@ -106,7 +105,7 @@ protected function visitBlock(Block $block, $indent)
106105
return $head . "{\n" .
107106
$this->compile($block, ' ' . $indent) .
108107
$letVariables .
109-
$indent . "}";
108+
$indent . '}';
110109
}
111110

112111
protected function visitBracketsArray(BracketsArray $array, $indent)

src/JsPhpize/Nodes/Assignable.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
interface Assignable
66
{
77
public function getNonAssignableReason();
8+
89
public function isAssignable();
910
}

src/JsPhpize/Nodes/Block.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace JsPhpize\Nodes;
44

55
use JsPhpize\Parser\Exception;
6-
use JsPhpize\Nodes\Parenthesis;
76

87
class Block extends Node
98
{
@@ -23,7 +22,7 @@ class Block extends Node
2322
protected $instructions;
2423

2524
/**
26-
* @var boolean
25+
* @var bool
2726
*/
2827
protected $inInstruction;
2928

src/JsPhpize/Nodes/Variable.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ public function setScope(Block $block)
3030
$this->scope = $block;
3131
}
3232

33-
public function getNonAssignableReason() {}
33+
public function getNonAssignableReason()
34+
{
35+
}
3436

3537
public function isAssignable()
3638
{

0 commit comments

Comments
 (0)