1
0
mirror of https://github.com/flarum/core.git synced 2025-10-19 18:56:44 +02:00

add type hinting to settings repository

This commit is contained in:
Daniël Klabbers
2019-10-08 15:39:01 +02:00
parent b09ac3f3f8
commit 2c867d2292
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ class DatabaseSettingsRepository implements SettingsRepositoryInterface
$this->database = $connection;
}
public function all()
public function all(): array
{
return $this->database->table('settings')->pluck('value', 'key')->all();
}