mirror of
https://github.com/flarum/framework.git
synced 2025-03-09 19:55:26 +08:00
Clarify that request
argument of render
callbacks for Formatter
must be either nullable or omitted
This commit is contained in:
parent
8f2e76d966
commit
6ed4442ea6
@ -68,7 +68,7 @@ class Formatter implements ExtenderInterface, LifecycleInterface
|
||||
* - \s9e\TextFormatter\Rendered $renderer
|
||||
* - mixed $context
|
||||
* - string $xml: The xml to be rendered.
|
||||
* - ServerRequestInterface $request
|
||||
* - ServerRequestInterface $request. This argument MUST either be nullable, or omitted entirely.
|
||||
*
|
||||
* The callback should return:
|
||||
* - string $xml: The xml to be rendered.
|
||||
|
Loading…
x
Reference in New Issue
Block a user