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
|
@@ 229-232 (lines=4) @@
|
| 226 |
|
return $class; |
| 227 |
|
} |
| 228 |
|
|
| 229 |
|
if ($type instanceof SimpleType) { |
| 230 |
|
$this->classes[spl_object_hash($type)]["skip"] = true; |
| 231 |
|
return $class; |
| 232 |
|
} |
| 233 |
|
if (($this->isArrayType($type) || $this->isArrayNestedElement($type)) && !$force) { |
| 234 |
|
$this->classes[spl_object_hash($type)]["skip"] = true; |
| 235 |
|
return $class; |