@@ -61,12 +61,6 @@ class Item implements SerializableInterface, JsonSerializable
6161
6262 private $ mandatoryAnyOf ;
6363
64- /** @var ItemNullableObject|null */
65- private $ nullableObject ;
66-
67- /** @var DateTimeInterface|null */
68- private $ nullableDate ;
69-
7064 /** @var int|null */
7165 private $ optionalInteger ;
7266
@@ -146,26 +140,6 @@ public function __construct(int $mandatoryInteger, string $mandatoryString, stri
146140 $ this ->mandatoryAnyOf = $ mandatoryAnyOf ;
147141 }
148142
149- /**
150- * @param ItemNullableObject|null $nullableObject
151- */
152- public function setNullableObject ($ nullableObject ): self
153- {
154- $ this ->nullableObject = $ nullableObject ;
155-
156- return $ this ;
157- }
158-
159- /**
160- * @param DateTimeInterface|null $nullableDate
161- */
162- public function setNullableDate ($ nullableDate ): self
163- {
164- $ this ->nullableDate = $ nullableDate ;
165-
166- return $ this ;
167- }
168-
169143 public function setOptionalInteger (int $ optionalInteger ): self
170144 {
171145 $ this ->optionalInteger = $ optionalInteger ;
@@ -430,22 +404,6 @@ public function getMandatoryAnyOf()
430404 return $ this ->mandatoryAnyOf ;
431405 }
432406
433- /**
434- * @return ItemNullableObject|null
435- */
436- public function getNullableObject ()
437- {
438- return $ this ->nullableObject ;
439- }
440-
441- /**
442- * @return DateTimeInterface|null
443- */
444- public function getNullableDate ()
445- {
446- return $ this ->nullableDate ;
447- }
448-
449407 /**
450408 * @return int|null
451409 */
@@ -598,8 +556,6 @@ public function toArray(): array
598556 $ fields ['mandatoryNullableObjectWithAllOf ' ] = $ this ->mandatoryNullableObjectWithAllOf !== null ? $ this ->mandatoryNullableObjectWithAllOf ->toArray () : null ;
599557 $ fields ['mandatoryMixed ' ] = $ this ->mandatoryMixed ;
600558 $ fields ['mandatoryAnyOf ' ] = $ this ->mandatoryAnyOf ;
601- $ fields ['nullableObject ' ] = $ this ->nullableObject !== null ? $ this ->nullableObject ->toArray () : null ;
602- $ fields ['nullableDate ' ] = $ this ->nullableDate !== null ? $ this ->nullableDate ->format (DATE_RFC3339 ) : null ;
603559 if ($ this ->optionalInteger !== null ) {
604560 $ fields ['optionalInteger ' ] = $ this ->optionalInteger ;
605561 }
0 commit comments