Changed the typehint of the EsiFragmentRenderer to the interface
This commit is contained in:
parent
4293d40fce
commit
d1fca907f9
@ -32,10 +32,10 @@ class EsiFragmentRenderer extends RoutableFragmentRenderer
|
||||
* The "fallback" strategy when ESI is not available should always be an
|
||||
* instance of InlineFragmentRenderer.
|
||||
*
|
||||
* @param Esi $esi An Esi instance
|
||||
* @param InlineFragmentRenderer $inlineStrategy The inline strategy to use when ESI is not supported
|
||||
* @param Esi $esi An Esi instance
|
||||
* @param FragmentRendererInterface $inlineStrategy The inline strategy to use when ESI is not supported
|
||||
*/
|
||||
public function __construct(Esi $esi, InlineFragmentRenderer $inlineStrategy)
|
||||
public function __construct(Esi $esi, FragmentRendererInterface $inlineStrategy)
|
||||
{
|
||||
$this->esi = $esi;
|
||||
$this->inlineStrategy = $inlineStrategy;
|
||||
|
Reference in New Issue
Block a user