Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Nov 3, 2018
1 parent 99d890e commit 9fabb2b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 20 deletions.
4 changes: 1 addition & 3 deletions src/Asset/EntrypointLookup.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ public function __construct(string $entrypointJsonPath)

public function getJavaScriptFiles(string $entryName): array
{
$results = $this->getEntryFiles($entryName, 'js');

return $results;
return $this->getEntryFiles($entryName, 'js');
}

public function getCssFiles(string $entryName): array
Expand Down
14 changes: 0 additions & 14 deletions src/Exception/ManifestKeyNotFoundException.php

This file was deleted.

2 changes: 1 addition & 1 deletion src/Twig/EntryFilesTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

namespace Symfony\WebpackEncoreBundle\Twig;

use Symfony\WebpackEncoreBundle\Asset\TagRenderer;
use Psr\Container\ContainerInterface;
use Symfony\WebpackEncoreBundle\Asset\EntrypointLookupInterface;
use Symfony\WebpackEncoreBundle\Asset\TagRenderer;
use Twig\Extension\AbstractExtension;
use Twig\TwigFunction;

Expand Down
2 changes: 0 additions & 2 deletions tests/Asset/TagRendererTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
use PHPUnit\Framework\TestCase;
use Symfony\Component\Asset\Packages;
use Symfony\WebpackEncoreBundle\Asset\EntrypointLookupInterface;
use Symfony\WebpackEncoreBundle\Asset\ManifestLookupInterface;
use Symfony\WebpackEncoreBundle\Asset\TagRenderer;
use Symfony\WebpackEncoreBundle\Exception\ManifestKeyNotFoundException;

class TagRendererTest extends TestCase
{
Expand Down

0 comments on commit 9fabb2b

Please sign in to comment.