@@ -12,7 +12,6 @@ |
||
12 | 12 | use CultuurNet\UDB3\Offer\Commands\AbstractAddLabel; |
13 | 13 | use CultuurNet\UDB3\Offer\Commands\AbstractDeleteCurrentOrganizer; |
14 | 14 | use CultuurNet\UDB3\Offer\Commands\AbstractImportLabels; |
15 | -use CultuurNet\UDB3\Offer\Commands\AbstractLabelCommand; |
|
16 | 15 | use CultuurNet\UDB3\Offer\Commands\AbstractRemoveLabel; |
17 | 16 | use CultuurNet\UDB3\Offer\Commands\AbstractDeleteOffer; |
18 | 17 | use CultuurNet\UDB3\Offer\Commands\AbstractDeleteOrganizer; |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | $matches = []; |
110 | 110 | if (preg_match('/^handle(.+)$/', $method, $matches)) { |
111 | 111 | $command = $matches[1]; |
112 | - $classNameMethod = 'get' . $command . 'ClassName'; |
|
112 | + $classNameMethod = 'get'.$command.'ClassName'; |
|
113 | 113 | |
114 | 114 | if (method_exists($this, $classNameMethod)) { |
115 | 115 | $commandFullClassName = call_user_func(array($this, $classNameMethod)); |
@@ -304,7 +304,7 @@ discard block |
||
304 | 304 | { |
305 | 305 | $offer = $this->load($addLabel->getItemId()); |
306 | 306 | |
307 | - $labelName = (string) $addLabel->getLabel(); |
|
307 | + $labelName = (string)$addLabel->getLabel(); |
|
308 | 308 | $labelVisibility = $addLabel->getLabel()->isVisible(); |
309 | 309 | |
310 | 310 | // Load the label read model so we can determine the correct visibility. |