Skip to content

Conversation

PatrickePatate
Copy link
Contributor

No description provided.

* @param string|null $field
* @return $this
*/
public function setHasAutoDeployDateField(?string $fieldKey = null): self
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be setAutoDeployDateField(string $fieldKey): self (without Has and without nullable arg)
And maybe we can add an unsetAutoDeployDateField(): self if we need to allow to nullify this field

return $this->hasPublicationState;
}

public function hasAutoDeployDateField(): ?string
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same, remove Has to autoDeployDateField(): ?string

@PatrickePatate PatrickePatate merged commit 2c8a1da into main Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants