Skip to content

Commit

Permalink
fixed OMS symfony finder
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius Rizac committed May 17, 2016
1 parent b5ea0eb commit 38bb820
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Spryker/Zed/Oms/Business/OrderStateMachine/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Spryker\Zed\Oms\Business\Process\StateInterface;
use Spryker\Zed\Oms\Business\Process\TransitionInterface;
use Spryker\Zed\Oms\OmsConfig;
use Symfony\Component\Finder\Finder;
use Symfony\Component\Finder\Finder as SymfonyFinder;

class Builder implements BuilderInterface
{
Expand Down Expand Up @@ -449,7 +449,7 @@ protected function buildFinder($fileName)
*/
protected function getFinder()
{
return new Finder();
return new SymfonyFinder();
}

/**
Expand All @@ -460,7 +460,7 @@ protected function getFinder()
*
* @return void
*/
protected function validateFinder(Finder $finder, $fileName)
protected function validateFinder(SymfonyFinder $finder, $fileName)
{
if ($finder->count() > 1) {
throw new StatemachineException(
Expand Down

0 comments on commit 38bb820

Please sign in to comment.