mirror of
https://github.com/flarum/core.git
synced 2025-08-06 08:27:42 +02:00
is it really that simple?
This commit is contained in:
@@ -29,7 +29,7 @@ class Conditional implements ExtenderInterface
|
||||
* - 'condition': a boolean or callable that should return a boolean.
|
||||
* - 'extenders': an array of extenders, a callable returning an array of extenders, or an invokable class string.
|
||||
*
|
||||
* @var array<array{condition: bool|callable, extenders: ExtenderInterface[]}>
|
||||
* @var array<array{condition: bool|callable|string, extenders: ExtenderInterface[]}>
|
||||
*/
|
||||
protected $conditions = [];
|
||||
|
||||
|
Reference in New Issue
Block a user