Merge pull request #4050 from Icinga/bugfix/iterable-for-delete-comments-and-downtimes-command-forms

Allow iterable for delete comments and downtimes command forms
This commit is contained in:
Johannes Meyer 2020-01-14 15:29:59 +01:00 committed by GitHub
commit 9ffaa05e4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -30,11 +30,11 @@ class DeleteCommentsCommandForm extends CommandForm
/**
* Set the comments to delete
*
* @param array $comments
* @param iterable $comments
*
* @return $this
*/
public function setComments(array $comments)
public function setComments($comments)
{
$this->comments = $comments;
return $this;

View File

@ -30,11 +30,11 @@ class DeleteDowntimesCommandForm extends CommandForm
/**
* Set the downtimes to delete
*
* @param array $downtimes
* @param iterable $downtimes
*
* @return $this
*/
public function setDowntimes(array $downtimes)
public function setDowntimes($downtimes)
{
$this->downtimes = $downtimes;
return $this;