Update repository base code to be cleaner and make use of PHP 7 features
This commit is contained in:
parent
0ec5a4e08c
commit
60eb60013c
96 changed files with 1048 additions and 1785 deletions
|
@ -9,7 +9,9 @@ interface SettingsRepositoryInterface extends RepositoryInterface
|
|||
*
|
||||
* @param string $key
|
||||
* @param string $value
|
||||
* @return mixed
|
||||
*
|
||||
* @throws \Pterodactyl\Exceptions\Model\DataValidationException
|
||||
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
|
||||
*/
|
||||
public function set(string $key, string $value);
|
||||
|
||||
|
@ -26,7 +28,6 @@ interface SettingsRepositoryInterface extends RepositoryInterface
|
|||
* Remove a key from the database cache.
|
||||
*
|
||||
* @param string $key
|
||||
* @return mixed
|
||||
*/
|
||||
public function forget(string $key);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue