@@ -111,8 +111,9 @@ |
||
111 | 111 | } |
112 | 112 | |
113 | 113 | if (!$parent instanceof Reader && |
114 | - !$parent instanceof Writer) |
|
115 | - throw new Exception('Cannot create ' . __CLASS__ . ' with $parent class: ' . get_class($parent)); |
|
114 | + !$parent instanceof Writer) { |
|
115 | + throw new Exception('Cannot create ' . __CLASS__ . ' with $parent class: ' . get_class($parent)); |
|
116 | + } |
|
116 | 117 | |
117 | 118 | $this->parent = $parent; |
118 | 119 |