Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Maintenance] Minor cs fixes #486

Merged
merged 1 commit into from
Jul 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

redundant space

/*
* 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.
*/

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why you removed it?

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