Skip to content

Commit

Permalink
refactor #486 [Maintenance] Minor cs fixes (lchrusciel)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.0-dev branch.

Discussion
----------



Commits
-------

a8d0419 [Maintenance] Minor cs fixes
  • Loading branch information
GSadee authored Jul 24, 2019
2 parents f24489a + a8d0419 commit f225f63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
10 changes: 1 addition & 9 deletions src/EventListener/CartBlamerListener.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
<?php

/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\EventListener;
Expand All @@ -33,6 +24,7 @@ final class CartBlamerListener

/** @var OrderRepositoryInterface */
private $cartRepository;

/** @var RequestStack */
private $requestStack;

Expand Down
4 changes: 2 additions & 2 deletions src/Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
</service>

<service
id="sylius.listener.cart_blamer"
class="Sylius\ShopApiPlugin\EventListener\CartBlamerListener"
id="sylius.listener.cart_blamer"
class="Sylius\ShopApiPlugin\EventListener\CartBlamerListener"
>
<argument type="service" id="sylius.manager.order" />
<argument type="service" id="sylius.context.cart" />
Expand Down

0 comments on commit f225f63

Please sign in to comment.