@@ -39,8 +39,8 @@ |
||
| 39 | 39 | public function getFunctions(): array |
| 40 | 40 | { |
| 41 | 41 | return [ |
| 42 | - new \Twig_Function('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']), |
|
| 43 | - new \Twig_Function('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']), |
|
| 42 | + new \Twig_Function('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']), |
|
| 43 | + new \Twig_Function('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']), |
|
| 44 | 44 | ]; |
| 45 | 45 | } |
| 46 | 46 | } |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | namespace spec\Sylius\Bundle\ThemeBundle\Factory; |
| 15 | 15 | |
| 16 | 16 | use PhpSpec\ObjectBehavior; |
| 17 | -use Sylius\Bundle\ThemeBundle\Factory\ThemeScreenshotFactory; |
|
| 18 | 17 | use Sylius\Bundle\ThemeBundle\Factory\ThemeScreenshotFactoryInterface; |
| 19 | 18 | use Sylius\Bundle\ThemeBundle\Model\ThemeScreenshot; |
| 20 | 19 | |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | namespace spec\Sylius\Bundle\ThemeBundle\Translation\Finder; |
| 15 | 15 | |
| 16 | 16 | use PhpSpec\ObjectBehavior; |
| 17 | -use Sylius\Bundle\ThemeBundle\Translation\Finder\OrderingTranslationFilesFinder; |
|
| 18 | 17 | use Sylius\Bundle\ThemeBundle\Translation\Finder\TranslationFilesFinderInterface; |
| 19 | 18 | |
| 20 | 19 | /** |