Skip to content

Commit

Permalink
Merge pull request #28 from stefandoorn/return-type-set-last-modifica…
Browse files Browse the repository at this point in the history
…tion

Set return type to void for last modification on sitemap
  • Loading branch information
stefandoorn authored Oct 28, 2017
2 parents 3ad0452 + 3e75ef2 commit cf6d0db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Model/Sitemap.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function getLocalization(): ?string
/**
* {@inheritdoc}
*/
public function setLastModification(DateTimeInterface $lastModification)
public function setLastModification(DateTimeInterface $lastModification): void
{
$this->lastModification = $lastModification;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/SitemapIndex.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function getLocalization(): ?string
/**
* {@inheritdoc}
*/
public function setLastModification(DateTimeInterface $lastModification)
public function setLastModification(DateTimeInterface $lastModification): void
{
$this->lastModification = $lastModification;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/SitemapInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ public function getLastModification(): ?DateTimeInterface;
/**
* @param DateTimeInterface $lastModification
*/
public function setLastModification(DateTimeInterface $lastModification);
public function setLastModification(DateTimeInterface $lastModification): void;
}

0 comments on commit cf6d0db

Please sign in to comment.