Skip to content

Commit

Permalink
Merge branch 'master' into symfony5
Browse files Browse the repository at this point in the history
  • Loading branch information
soullivaneuh authored Nov 25, 2019
2 parents 64aad8c + db37ef5 commit 8323e47
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 225 deletions.
22 changes: 0 additions & 22 deletions src/ActionConfirmation.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,43 +46,28 @@ final class ActionConfirmation
*/
private $dismissText;

/**
* @param string $title
* @param string $text
*/
public function __construct(string $title, string $text)
{
$this->title = $title;
$this->text = $text;
}

/**
* @return string
*/
public function getTitle(): string
{
return $this->title;
}

/**
* @return string
*/
public function getText(): string
{
return $this->text;
}

/**
* @return string|null
*/
public function getOkText(): ?string
{
return $this->okText;
}

/**
* @param string|null $okText
*
* @return ActionConfirmation
*/
public function setOkText(?string $okText): self
Expand All @@ -92,17 +77,12 @@ public function setOkText(?string $okText): self
return $this;
}

/**
* @return string|null
*/
public function getDismissText(): ?string
{
return $this->dismissText;
}

/**
* @param string|null $dismissText
*
* @return ActionConfirmation
*/
public function setDismissText(?string $dismissText): self
Expand All @@ -114,8 +94,6 @@ public function setDismissText(?string $dismissText): self

/**
* Get the array representation of this action confirmation.
*
* @return array
*/
public function toArray(): array
{
Expand Down
Loading

0 comments on commit 8323e47

Please sign in to comment.