Skip to content

Commit 930bc43

Browse files
committed
Remove optional added in getType to account for some contexts not needing it
1 parent 9fe113b commit 930bc43

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/SDK/Language/Swift.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -526,10 +526,6 @@ protected function getPropertyType(array $property, array $spec, string $generic
526526
$type = $this->getTypeName($property);
527527
}
528528

529-
if (!$property['required']) {
530-
$type .= '?';
531-
}
532-
533529
return $type;
534530
}
535531

0 commit comments

Comments
 (0)