|
@@ -115,8 +115,9 @@ |
|
|
block discarded – undo |
|
115
|
115
|
$this->parent = $parent; |
|
116
|
116
|
|
|
117
|
117
|
if (!$this->parent instanceof Reader && |
|
118
|
|
- !$this->parent instanceof Writer) |
|
119
|
|
- throw new Exception('Cannot create ' . __CLASS__ . ' with $parent class: ' . get_class($this->parent)); |
|
|
118
|
+ !$this->parent instanceof Writer) { |
|
|
119
|
+ throw new Exception('Cannot create ' . __CLASS__ . ' with $parent class: ' . get_class($this->parent)); |
|
|
120
|
+ } |
|
120
|
121
|
|
|
121
|
122
|
return $this; |
|
122
|
123
|
} |
Please login to merge, or discard this patch.