lib/Jms/YamlConverter.php 1 location
|
@@ 211-214 (lines=4) @@
|
| 208 |
|
|
| 209 |
|
$this->visitTypeBase($class, $data, $type, $type->getName()); |
| 210 |
|
|
| 211 |
|
if ($type instanceof SimpleType) { |
| 212 |
|
$this->classes[spl_object_hash($type)]["skip"] = true; |
| 213 |
|
return $class; |
| 214 |
|
} |
| 215 |
|
|
| 216 |
|
if (!$force && ($this->isArrayType($type) || $this->isArrayNestedElement($type))) { |
| 217 |
|
$this->classes[spl_object_hash($type)]["skip"] = true; |
lib/Php/PhpConverter.php 1 location
|
@@ 223-226 (lines=4) @@
|
| 220 |
|
|
| 221 |
|
$this->visitTypeBase($class, $type); |
| 222 |
|
|
| 223 |
|
if ($type instanceof SimpleType) { |
| 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; |