@@ -65,8 +65,7 @@ discard block |
||
| 65 | 65 | { |
| 66 | 66 | if (!$this->genericContext) |
| 67 | 67 | { |
| 68 | - $this->genericContext = new GenericContext |
|
| 69 | - ( |
|
| 68 | + $this->genericContext = new GenericContext( |
|
| 70 | 69 | $this->getObjectType(), |
| 71 | 70 | static::getReflectionComposite() |
| 72 | 71 | ); |
@@ -86,8 +85,7 @@ discard block |
||
| 86 | 85 | { |
| 87 | 86 | if ($this->genericContext) |
| 88 | 87 | { |
| 89 | - throw new ImmutablePropertyException |
|
| 90 | - ( |
|
| 88 | + throw new ImmutablePropertyException( |
|
| 91 | 89 | (string)$this->getObjectType(), |
| 92 | 90 | 'genericContext' |
| 93 | 91 | ); |