Skip to content

Commit

Permalink
Fix ::class error in Builder from php v5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rougin committed Dec 9, 2023
1 parent 0e28656 commit 74482b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Previous/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ public function make($method = null, $uri = null)

protected function setContainer()
{
// Initialize the RendererInterface ------------
// Initialize the RendererInterface ----------------------
$views = (string) realpath(__DIR__ . '/Plates');
$loader = new Twig_Loader_Filesystem($views);
$twig = new Twig(new Twig_Environment($loader));
$renderer = RendererInterface::class;
// ---------------------------------------------
$renderer = 'Rougin\Slytherin\Template\RendererInterface';
// -------------------------------------------------------

$auryn = new Auryn(new \Auryn\Injector);

Expand Down

0 comments on commit 74482b4

Please sign in to comment.