@@ -60,8 +60,7 @@ discard block |
||
| 60 | 60 | case T_NAMESPACE: |
| 61 | 61 | $ns = new NamespaceBlock($classname); |
| 62 | 62 | $currentNS = new RawPropertyAccessor($ns); |
| 63 | - $this->accessor->rawAddToValue |
|
| 64 | - ( |
|
| 63 | + $this->accessor->rawAddToValue( |
|
| 65 | 64 | 'namespaces', |
| 66 | 65 | $ns |
| 67 | 66 | ); |
@@ -76,8 +75,7 @@ discard block |
||
| 76 | 75 | $as = end($as); |
| 77 | 76 | } |
| 78 | 77 | |
| 79 | - $currentNS->rawAddToValue |
|
| 80 | - ( |
|
| 78 | + $currentNS->rawAddToValue( |
|
| 81 | 79 | 'useStatements', |
| 82 | 80 | new UseStatement($classname, $as) |
| 83 | 81 | ); |
@@ -17,8 +17,7 @@ discard block |
||
| 17 | 17 | |
| 18 | 18 | public function build() |
| 19 | 19 | { |
| 20 | - $this->accessor->setRawValue |
|
| 21 | - ( |
|
| 20 | + $this->accessor->setRawValue( |
|
| 22 | 21 | 'file', |
| 23 | 22 | (new ReflectionFileFactory($this->reflector->getFileName())) |
| 24 | 23 | ->build() |
@@ -45,12 +44,10 @@ discard block |
||
| 45 | 44 | |
| 46 | 45 | protected function buildProperty($reflect) |
| 47 | 46 | { |
| 48 | - $this->accessor->rawAddToValue |
|
| 49 | - ( |
|
| 47 | + $this->accessor->rawAddToValue( |
|
| 50 | 48 | 'properties', |
| 51 | 49 | (new ReflectionPropertyFactory($reflect)) |
| 52 | - ->build |
|
| 53 | - ( |
|
| 50 | + ->build( |
|
| 54 | 51 | $this->object, |
| 55 | 52 | $this->reflector |
| 56 | 53 | ->getDefaultProperties()[$reflect->getName()] |
@@ -60,8 +57,7 @@ discard block |
||
| 60 | 57 | |
| 61 | 58 | protected function buildMethod($reflect) |
| 62 | 59 | { |
| 63 | - $this->accessor->rawAddToValue |
|
| 64 | - ( |
|
| 60 | + $this->accessor->rawAddToValue( |
|
| 65 | 61 | 'methods', |
| 66 | 62 | (new ReflectionMethodFactory($reflect)) |
| 67 | 63 | ->build($this->object) |