Skip to content

Commit b29c600

Browse files
committed
Correcting resolver order: compound arrays are to be parsed before object types
1 parent b90fdb5 commit b29c600

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TypeResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ public function resolve($type, Context $context = null)
104104
return $this->resolveKeyword($type);
105105
case ($this->isCompoundType($type)):
106106
return $this->resolveCompoundType($type, $context);
107-
case $this->isFqsen($type):
108-
return $this->resolveTypedObject($type);
109107
case $this->isTypedArray($type):
110108
return $this->resolveTypedArray($type, $context);
109+
case $this->isFqsen($type):
110+
return $this->resolveTypedObject($type);
111111
case $this->isPartialStructuralElementName($type):
112112
return $this->resolveTypedObject($type, $context);
113113
// @codeCoverageIgnoreStart

0 commit comments

Comments
 (0)