@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | * @see https://github.com/cycle/schema-builder/issues/25 |
| 161 | 161 | */ |
| 162 | 162 | if ($r->getOptions()->has('throughInnerKey')) { |
| 163 | - if ($throughInnerKey = (array)$r->getOptions()->get('throughInnerKey')) { |
|
| 163 | + if ($throughInnerKey = (array) $r->getOptions()->get('throughInnerKey')) { |
|
| 164 | 164 | if (count($throughInnerKey) > 1) { |
| 165 | 165 | throw new AnnotationException( |
| 166 | 166 | sprintf( |
@@ -176,7 +176,7 @@ discard block |
||
| 176 | 176 | } |
| 177 | 177 | |
| 178 | 178 | if ($r->getOptions()->has('throughOuterKey')) { |
| 179 | - if ($throughOuterKey = (array)$r->getOptions()->get('throughOuterKey')) { |
|
| 179 | + if ($throughOuterKey = (array) $r->getOptions()->get('throughOuterKey')) { |
|
| 180 | 180 | if (count($throughOuterKey) > 1) { |
| 181 | 181 | throw new AnnotationException( |
| 182 | 182 | sprintf( |