some PHPCS fixing

This commit is contained in:
Benoît Burnichon
2016-03-18 12:54:45 +01:00
parent 83b8baa327
commit 79119fe10a
2 changed files with 3 additions and 4 deletions

View File

@@ -18,7 +18,6 @@ use Alchemy\Phrasea\Core\PhraseaEvents;
use Alchemy\Phrasea\Model\Entities\Order;
use Alchemy\Phrasea\Order\OrderFiller;
use Doctrine\Common\Collections\ArrayCollection;
use Silex\Application;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Request;
@@ -181,7 +180,7 @@ class ProdOrderController extends BaseOrderController
$elements = $this->doDenyElements($order_id, $elementIds, $acceptor);
$success=!empty($elements);
$success = !empty($elements);
if ('json' === $request->getRequestFormat()) {
return $this->app->json([