Skip to content

Commit

Permalink
Changed the typehint of the EsiFragmentRenderer to the interface
Browse files Browse the repository at this point in the history
  • Loading branch information
stof authored and fabpot committed Apr 9, 2014
1 parent 4293d40 commit d1fca90
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d1fca90

Please sign in to comment.