@@ -3,13 +3,11 @@ |
||
3 | 3 | |
4 | 4 | require __DIR__ . '/../vendor/autoload.php'; |
5 | 5 | |
6 | -use PhpParser\BuilderFactory; |
|
7 | 6 | use PhpParser\Comment; |
8 | 7 | use PhpParser\Node; |
9 | -use PhpParser\Node\Expr; |
|
10 | -use PhpParser\Node\Stmt; |
|
11 | 8 | use PhpParser\NodeTraverser; |
12 | 9 | use PhpParser\NodeVisitor\NameResolver; |
10 | +use PhpParser\Node\Stmt; |
|
13 | 11 | use PhpParser\ParserFactory; |
14 | 12 | use PhpParser\PrettyPrinter; |
15 | 13 |
@@ -15,6 +15,6 @@ |
||
15 | 15 | */ |
16 | 16 | public function handle(xKerman_Restricted_Source $source, $args) |
17 | 17 | { |
18 | - return array((bool) $args, $source); |
|
18 | + return array((bool)$args, $source); |
|
19 | 19 | } |
20 | 20 | } |
21 | 21 | \ No newline at end of file |
@@ -11,6 +11,6 @@ |
||
11 | 11 | { |
12 | 12 | $source = new xKerman_Restricted_Source($str); |
13 | 13 | $parser = new xKerman_Restricted_ExpressionParser(); |
14 | - list($result, ) = $parser->parse($source); |
|
14 | + list($result,) = $parser->parse($source); |
|
15 | 15 | return $result; |
16 | 16 | } |
17 | 17 | \ No newline at end of file |