1
0
mirror of https://github.com/flarum/core.git synced 2025-08-08 01:16:52 +02:00

small clarification on the UserPreferences extender

This commit is contained in:
Daniël Klabbers
2020-03-24 11:01:22 +01:00
parent 46e049ecb0
commit 3046461c77

View File

@@ -10,7 +10,7 @@ class UserPreferences implements ExtenderInterface
{
public function extend(Container $container, Extension $extension = null)
{
// TODO: Implement extend() method.
// There's nothing here as the logic is contained in the `add()` method directly.
}
public function add(string $key, callable $transformer = null, $default = null)