Fix exception when adjusting mail settings, closes #907
This commit is contained in:
parent
48c933fa0f
commit
d9355b93b4
4 changed files with 14 additions and 12 deletions
|
@ -7,13 +7,13 @@ interface SettingsRepositoryInterface extends RepositoryInterface
|
|||
/**
|
||||
* Store a new persistent setting in the database.
|
||||
*
|
||||
* @param string $key
|
||||
* @param string $value
|
||||
* @param string $key
|
||||
* @param string|null $value
|
||||
*
|
||||
* @throws \Pterodactyl\Exceptions\Model\DataValidationException
|
||||
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
|
||||
*/
|
||||
public function set(string $key, string $value);
|
||||
public function set(string $key, string $value = null);
|
||||
|
||||
/**
|
||||
* Retrieve a persistent setting from the database.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue