lib/Jms/YamlConverter.php 1 location
|
@@ 216-219 (lines=4) @@
|
213 |
|
return $class; |
214 |
|
} |
215 |
|
|
216 |
|
if (!$force && ($this->isArrayType($type) || $this->isArrayNestedElement($type))) { |
217 |
|
$this->classes[spl_object_hash($type)]["skip"] = true; |
218 |
|
return $class; |
219 |
|
} |
220 |
|
} elseif ($force) { |
221 |
|
if (!($type instanceof SimpleType) && !$this->getTypeAlias($type)) { |
222 |
|
$this->classes[spl_object_hash($type)]["skip"] = false; |
lib/Php/PhpConverter.php 1 location
|
@@ 227-230 (lines=4) @@
|
224 |
|
$this->classes[spl_object_hash($type)]["skip"] = true; |
225 |
|
return $class; |
226 |
|
} |
227 |
|
if (($this->isArrayType($type) || $this->isArrayNestedElement($type)) && !$force) { |
228 |
|
$this->classes[spl_object_hash($type)]["skip"] = true; |
229 |
|
return $class; |
230 |
|
} |
231 |
|
|
232 |
|
$this->classes[spl_object_hash($type)]["skip"] = !!$this->getTypeAlias($type); |
233 |
|
} elseif ($force) { |