Skip to content

Commit

Permalink
support for php 56
Browse files Browse the repository at this point in the history
  • Loading branch information
RYANOLEE committed Aug 7, 2020
1 parent 93feef5 commit fb5e976
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/Controller/WebpackManifestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
namespace Bluetel\WebpackManifestBundle\Controller;

use Bluetel\WebpackManifestBundle\WebpackManifest;
use Symfony\Component\HttpFoundation\{Request, RedirectResponse, Response};
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Response;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Twig/WebpackManifestExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function getFunctions()
* @param string $assetFilename
* @return string
*/
public function manifestAsset(string $assetFilename)
public function manifestAsset($assetFilename)
{
return $this->webpackManifest->getAssetPath($assetFilename);
}
Expand Down
2 changes: 1 addition & 1 deletion src/WebpackManifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function __construct($manifestPath)
* @param string $assetFilename
* @return string
*/
public function getAssetPath(string $assetFilename)
public function getAssetPath($assetFilename)
{
if (!file_exists($this->manifestPath)) {
return $assetFilename;
Expand Down

0 comments on commit fb5e976

Please sign in to comment.