mirror of
https://github.com/flarum/core.git
synced 2025-08-09 01:46:35 +02:00
small clarification on the UserPreferences extender
This commit is contained in:
@@ -10,7 +10,7 @@ class UserPreferences implements ExtenderInterface
|
|||||||
{
|
{
|
||||||
public function extend(Container $container, Extension $extension = null)
|
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)
|
public function add(string $key, callable $transformer = null, $default = null)
|
||||||
|
Reference in New Issue
Block a user