Skip to content

Commit

Permalink
Guestbook: Fix error when manually approving new entry
Browse files Browse the repository at this point in the history
  • Loading branch information
blackcoder87 committed Oct 26, 2023
1 parent 87144e5 commit 64df30c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion application/modules/guestbook/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Config extends \Ilch\Config\Install
{
public $config = [
'key' => 'guestbook',
'version' => '1.13.0',
'version' => '1.13.1',
'icon_small' => 'fa-solid fa-book',
'author' => 'Stantin, Thomas',
'link' => 'https://ilch.de',
Expand Down
20 changes: 10 additions & 10 deletions application/modules/guestbook/models/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,49 +70,49 @@ public function getId(): ?int
/**
* Gets the email of the entry.
*
* @return string
* @return string|null
*/
public function getEmail(): string
public function getEmail(): ?string
{
return $this->email;
}

/**
* Gets the text of the entry.
*
* @return string
* @return string|null
*/
public function getText(): string
public function getText(): ?string
{
return $this->text;
}

/**
* Gets the name of the entry.
*
* @return string
* @return string|null
*/
public function getName(): string
public function getName(): ?string
{
return $this->name;
}

/**
* Gets the homepage of the entry.
*
* @return string
* @return string|null
*/
public function getHomepage(): string
public function getHomepage(): ?string
{
return $this->homepage;
}

/**
* Gets the datetime of the entry.
*
* @return string
* @return string|null
*/
public function getDatetime(): string
public function getDatetime(): ?string
{
return $this->datetime;
}
Expand Down

0 comments on commit 64df30c

Please sign in to comment.