Completed
Pull Request — master (#244)
by Luc
08:22 queued 03:48
created
src/Organizer/OrganizerCommandHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
      */
111 111
     private function createLabel(AbstractLabelCommand $labelCommand)
112 112
     {
113
-        $labelName = new StringLiteral((string) $labelCommand->getLabel());
113
+        $labelName = new StringLiteral((string)$labelCommand->getLabel());
114 114
         $label = $this->labelRepository->getByName($labelName);
115 115
 
116 116
         return new Label(
Please login to merge, or discard this patch.
src/Offer/OfferCommandHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
             $matches = [];
94 94
             if (preg_match('/^handle(.+)$/', $method, $matches)) {
95 95
                 $command = $matches[1];
96
-                $classNameMethod = 'get' . $command . 'ClassName';
96
+                $classNameMethod = 'get'.$command.'ClassName';
97 97
 
98 98
                 if (method_exists($this, $classNameMethod)) {
99 99
                     $commandFullClassName = call_user_func(array($this, $classNameMethod));
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
      */
246 246
     private function createLabel(AbstractLabelCommand $labelCommand)
247 247
     {
248
-        $labelName = new StringLiteral((string) $labelCommand->getLabel());
248
+        $labelName = new StringLiteral((string)$labelCommand->getLabel());
249 249
         $label = $this->labelRepository->getByName($labelName);
250 250
 
251 251
         return new Label(
Please login to merge, or discard this patch.