Completed
Push — master ( 0969e2...d54784 )
by Rafał
20:34
created
Form/Type/TenantChoiceType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher MultiTenancy Bundle.
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     public function configureOptions(OptionsResolver $resolver)
58 58
     {
59 59
         $resolver->setDefaults([
60
-            'choices' => function (Options $options) {
60
+            'choices' => function(Options $options) {
61 61
                 return $this->tenantRepository->findAll();
62 62
             },
63 63
             'choice_value' => 'code',
Please login to merge, or discard this patch.
Form/DataTransformer/TenantToCodeTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher MultiTenancy Bundle.
Please login to merge, or discard this patch.
Command/CreateOrganizationCommand.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
 
130 130
     /**
131 131
      * @param string $name
132
-     * @param bool   $disabled
132
+     * @param InputInterface $input
133 133
      *
134 134
      * @return OrganizationInterface
135 135
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
     {
112 112
         if (!$input->getArgument($name)) {
113 113
             $question = new Question(sprintf('<question>Please enter %s:</question>', $name));
114
-            $question->setValidator(function ($argument) use ($name) {
114
+            $question->setValidator(function($argument) use ($name) {
115 115
                 if (empty($argument)) {
116 116
                     throw new \RuntimeException(sprintf('The %s can not be empty', $name));
117 117
                 }
Please login to merge, or discard this patch.