|
@@ 239-243 (lines=5) @@
|
| 236 |
|
|
| 237 |
|
$this->visitTypeBase($class, $type); |
| 238 |
|
|
| 239 |
|
if ($type instanceof SimpleType) { |
| 240 |
|
$this->classes[spl_object_hash($type)]["skip"] = true; |
| 241 |
|
$this->skipByType[spl_object_hash($class)] = true; |
| 242 |
|
return $class; |
| 243 |
|
} |
| 244 |
|
if (($this->isArrayType($type) || $this->isArrayNestedElement($type)) && !$force) { |
| 245 |
|
$this->classes[spl_object_hash($type)]["skip"] = true; |
| 246 |
|
$this->skipByType[spl_object_hash($class)] = true; |
|
@@ 276-279 (lines=4) @@
|
| 273 |
|
|
| 274 |
|
$this->visitTypeBase($class, $type); |
| 275 |
|
|
| 276 |
|
if ($type instanceof SimpleType) { |
| 277 |
|
$this->classes[spl_object_hash($type)]["skip"] = true; |
| 278 |
|
$this->skipByType[spl_object_hash($class)] = true; |
| 279 |
|
} |
| 280 |
|
} |
| 281 |
|
return $this->classes[spl_object_hash($type)]["class"]; |
| 282 |
|
} |