Completed
Push — 1.0-adjust-cs ( dde5cf )
by Kamil
27:56
created
src/Sylius/Bundle/AdminBundle/spec/Menu/CustomerShowMenuBuilderSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace spec\Sylius\Bundle\AdminBundle\Menu;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/AdminBundle/Menu/OrderShowMenuBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\AdminBundle\Menu;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/AdminBundle/Menu/CustomerShowMenuBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\AdminBundle\Menu;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/AdminBundle/Controller/ImpersonateUserController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\AdminBundle\Controller;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/Controller/UserController.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\UserBundle\Controller;
15 15
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -285,6 +285,7 @@
 block discarded – undo
285 285
 
286 286
     /**
287 287
      * {@inheritdoc}
288
+     * @param string $type
288 289
      */
289 290
     protected function addFlash($type, $message): void
290 291
     {
Please login to merge, or discard this patch.
Sylius/Bundle/UserBundle/Authentication/AuthenticationFailureHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\UserBundle\Authentication;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Matcher/ZoneMatcher.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
     /**
149 149
      * @param string $code
150 150
      *
151
-     * @return ZoneInterface|null
151
+     * @return AddressInterface
152 152
      */
153 153
     private function getZoneByCode(string $code): ?ZoneInterface
154 154
     {
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Addressing\Matcher;
15 15
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     /**
52 52
      * {@inheritdoc}
53 53
      */
54
-    public function match(AddressInterface $address, ?string $scope = null): ?ZoneInterface
54
+    public function match(AddressInterface $address, ?string $scope = null) : ?ZoneInterface
55 55
     {
56 56
         $zones = [];
57 57
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     /**
75 75
      * {@inheritdoc}
76 76
      */
77
-    public function matchAll(AddressInterface $address, ?string $scope = null): array
77
+    public function matchAll(AddressInterface $address, ?string $scope = null) : array
78 78
     {
79 79
         $zones = [];
80 80
 
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      *
137 137
      * @return array
138 138
      */
139
-    private function getZones(?string $scope = null): array
139
+    private function getZones(?string $scope = null) : array
140 140
     {
141 141
         if (null === $scope) {
142 142
             return $this->zoneRepository->findAll();
Please login to merge, or discard this patch.
Bundle/AddressingBundle/Form/EventListener/BuildAddressFormSubscriber.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\AddressingBundle\Form\EventListener;
15 15
 
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
      *
135 135
      * @return FormInterface
136 136
      */
137
-    private function createProvinceCodeChoiceForm(CountryInterface $country, ?string $provinceCode = null): FormInterface
137
+    private function createProvinceCodeChoiceForm(CountryInterface $country, ?string $provinceCode = null) : FormInterface
138 138
     {
139 139
         return $this->formFactory->createNamed('provinceCode', ProvinceCodeChoiceType::class, $provinceCode, [
140 140
             'country' => $country,
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
      *
150 150
      * @return FormInterface
151 151
      */
152
-    private function createProvinceNameTextForm(?string $provinceName = null): FormInterface
152
+    private function createProvinceNameTextForm(?string $provinceName = null) : FormInterface
153 153
     {
154 154
         return $this->formFactory->createNamed('provinceName', TextType::class, $provinceName, [
155 155
             'required' => false,
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/RedirectHandlerInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\ResourceBundle\Controller;
15 15
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      *
36 36
      * @return Response
37 37
      */
38
-    public function redirectToIndex(RequestConfiguration $configuration, ?ResourceInterface $resource = null): Response;
38
+    public function redirectToIndex(RequestConfiguration $configuration, ?ResourceInterface $resource = null) : Response;
39 39
 
40 40
     /**
41 41
      * @param RequestConfiguration $configuration
Please login to merge, or discard this patch.