Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}} {{/parentSchema}}
*
* @return $this
*/
public function {{setter}}({{#vendorExtensions.x-parameter-type}}{{vendorExtensions.x-parameter-type}} {{/vendorExtensions.x-parameter-type}}${{name}}{{^required}} = null{{/required}}){{#vendorExtensions.x-parameter-type}}: {{^required}}?{{/required}}{{vendorExtensions.x-parameter-type}}{{/vendorExtensions.x-parameter-type}}
public function {{setter}}({{#vendorExtensions.x-parameter-type}}{{vendorExtensions.x-parameter-type}} {{/vendorExtensions.x-parameter-type}}${{name}}{{^required}} = null{{/required}})
{
$this->{{name}} = ${{name}};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public function getShipDate(): ?\DateTime
*
* @return $this
*/
public function setShipDate(\DateTime $shipDate = null): ?\DateTime
public function setShipDate(\DateTime $shipDate = null)
{
$this->shipDate = $shipDate;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function getCategory(): ?Category
*
* @return $this
*/
public function setCategory(Category $category = null): ?Category
public function setCategory(Category $category = null)
{
$this->category = $category;

Expand Down Expand Up @@ -203,7 +203,7 @@ public function getPhotoUrls(): array
*
* @return $this
*/
public function setPhotoUrls(array $photoUrls): array
public function setPhotoUrls(array $photoUrls)
{
$this->photoUrls = $photoUrls;

Expand All @@ -227,7 +227,7 @@ public function getTags(): ?array
*
* @return $this
*/
public function setTags(array $tags = null): ?array
public function setTags(array $tags = null)
{
$this->tags = $tags;

Expand Down