Skip to content

Commit

Permalink
Fix "Implicitly marking parameter $dateCreated as nullable is depreca…
Browse files Browse the repository at this point in the history
…ted"
  • Loading branch information
thekid committed Mar 28, 2024
1 parent 258ddaa commit b07b499
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/php/img/util/IptcData.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public function getKeywords() {
*
* @param util.Date dateCreated default NULL
*/
public function setDateCreated(Date $dateCreated= null) {
public function setDateCreated($dateCreated= null) {
$this->dateCreated= $dateCreated;
}

Expand All @@ -237,7 +237,7 @@ public function setDateCreated(Date $dateCreated= null) {
* @param util.Date dateCreated default NULL
* @return img.util.IptcData this
*/
public function withDateCreated(Date $dateCreated= null) {
public function withDateCreated($dateCreated= null) {
$this->dateCreated= $dateCreated;
return $this;
}
Expand Down

0 comments on commit b07b499

Please sign in to comment.