Skip to content

Commit 0de527f

Browse files
stoffabpot
authored andcommitted
Changed the typehint of the EsiFragmentRenderer to the interface
1 parent a83fa9d commit 0de527f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Fragment/EsiFragmentRenderer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ class EsiFragmentRenderer extends RoutableFragmentRenderer
3232
* The "fallback" strategy when ESI is not available should always be an
3333
* instance of InlineFragmentRenderer.
3434
*
35-
* @param Esi $esi An Esi instance
36-
* @param InlineFragmentRenderer $inlineStrategy The inline strategy to use when ESI is not supported
35+
* @param Esi $esi An Esi instance
36+
* @param FragmentRendererInterface $inlineStrategy The inline strategy to use when ESI is not supported
3737
*/
38-
public function __construct(Esi $esi, InlineFragmentRenderer $inlineStrategy)
38+
public function __construct(Esi $esi, FragmentRendererInterface $inlineStrategy)
3939
{
4040
$this->esi = $esi;
4141
$this->inlineStrategy = $inlineStrategy;

0 commit comments

Comments
 (0)