@@ -68,7 +68,7 @@ |
||
68 | 68 | $this->nodesFactory = $nodesFactory; |
69 | 69 | $this->adapter = $adapter; |
70 | 70 | |
71 | - $lastCallable = function ($command) { |
|
71 | + $lastCallable = function($command) { |
|
72 | 72 | return $this->createFile($command); |
73 | 73 | }; |
74 | 74 |
@@ -80,7 +80,7 @@ |
||
80 | 80 | break; |
81 | 81 | case TraitUse::class: |
82 | 82 | foreach ($stmt->traits as $use) { |
83 | - $trait->addUsedTrait(new Fqsen('\\'. $use->toString())); |
|
83 | + $trait->addUsedTrait(new Fqsen('\\' . $use->toString())); |
|
84 | 84 | } |
85 | 85 | break; |
86 | 86 | } |
@@ -33,7 +33,7 @@ |
||
33 | 33 | ) |
34 | 34 | ); |
35 | 35 | } |
36 | - $lastCallable = function ($command) use ($middleware, $lastCallable) { |
|
36 | + $lastCallable = function($command) use ($middleware, $lastCallable) { |
|
37 | 37 | return $middleware->execute($command, $lastCallable); |
38 | 38 | }; |
39 | 39 | } |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | { |
33 | 33 | $this->callbacks[TraitUse::class] = function($classElement, $stmt) { |
34 | 34 | foreach ($stmt->traits as $use) { |
35 | - $classElement->addUsedTrait(new Fqsen('\\'. $use->toString())); |
|
35 | + $classElement->addUsedTrait(new Fqsen('\\' . $use->toString())); |
|
36 | 36 | } |
37 | 37 | }; |
38 | 38 | |
@@ -44,12 +44,12 @@ discard block |
||
44 | 44 | } |
45 | 45 | }; |
46 | 46 | |
47 | - $this->callbacks[ClassMethod::class] = function ($classElement, $stmt, $strategies, $context) { |
|
47 | + $this->callbacks[ClassMethod::class] = function($classElement, $stmt, $strategies, $context) { |
|
48 | 48 | $method = $this->createMember($stmt, $strategies, $context); |
49 | 49 | $classElement->addMethod($method); |
50 | 50 | }; |
51 | 51 | |
52 | - $this->callbacks[PropertyNode::class] = function ($classElement, $stmt, $strategies, $context) { |
|
52 | + $this->callbacks[PropertyNode::class] = function($classElement, $stmt, $strategies, $context) { |
|
53 | 53 | $properties = new PropertyIterator($stmt); |
54 | 54 | foreach ($properties as $property) { |
55 | 55 | $element = $this->createMember($property, $strategies, $context); |