Completed
Pull Request — master (#137)
by Kristof
08:46 queued 03:35
created
src/Offer/ReadModel/Permission/Doctrine/SchemaConfigurator.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- */
3
+     * @file
4
+     */
5 5
 
6 6
 namespace CultuurNet\UDB3\Variations;
7 7
 
Please login to merge, or discard this patch.
src/Offer/Security.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- */
3
+     * @file
4
+     */
5 5
 
6 6
 namespace CultuurNet\UDB3\Variations;
7 7
 
Please login to merge, or discard this patch.
src/Offer/Events/AbstractDescriptionTranslated.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     }
25 25
 
26 26
     /**
27
-     * @return String
27
+     * @return string
28 28
      */
29 29
     public function getDescription()
30 30
     {
Please login to merge, or discard this patch.
src/Offer/Commands/AbstractTranslateDescription.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     }
25 25
 
26 26
     /**
27
-     * @return String
27
+     * @return string
28 28
      */
29 29
     public function getDescription()
30 30
     {
Please login to merge, or discard this patch.
src/Offer/Commands/AbstractTranslateTitle.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     }
25 25
 
26 26
     /**
27
-     * @return String
27
+     * @return string
28 28
      */
29 29
     public function getDescription()
30 30
     {
Please login to merge, or discard this patch.
src/LabelJSONDeserializer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use CultuurNet\UDB3\Variations\Model\Properties\Description;
10 10
 use CultuurNet\UDB3\Variations\Model\Properties\Id;
11 11
 use JsonSchema\Validator;
12
-use ValueObjects\String\String;
13 12
 use stdClass;
14 13
 
15 14
 class EditDescriptionJSONDeserializer extends JSONDeserializer
Please login to merge, or discard this patch.
src/Offer/ReadModel/JSONLD/OfferUpdate.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      */
24 24
     public static function calendar(Calendar $calendar)
25 25
     {
26
-        $offerCalenderUpdate = function ($body) use ($calendar) {
26
+        $offerCalenderUpdate = function($body) use ($calendar) {
27 27
             // Purge any existing calendar data
28 28
             unset(
29 29
                 $body->calendarType,
@@ -33,8 +33,8 @@  discard block
 block discarded – undo
33 33
                 $body->openingHours
34 34
             );
35 35
 
36
-            return (object) array_merge(
37
-                (array) $body,
36
+            return (object)array_merge(
37
+                (array)$body,
38 38
                 $calendar->toJsonLd()
39 39
             );
40 40
         };
Please login to merge, or discard this patch.
src/Offer/DefaultOfferEditingService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Broadway\CommandHandling\CommandBusInterface;
6 6
 use Broadway\UuidGenerator\UuidGeneratorInterface;
7
-use Broadway\Repository\RepositoryInterface;
8 7
 use CultuurNet\UDB3\Event\ReadModel\DocumentRepositoryInterface;
9 8
 use CultuurNet\UDB3\Label;
10 9
 use CultuurNet\UDB3\Offer\Commands\OfferCommandFactoryInterface;
Please login to merge, or discard this patch.
src/Place/Place.php 2 patches
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
     /**
86 86
      * Apply the place created event.
87
-     * @param PlaceCreate $placeCreated
87
+     * @param PlaceCreated $placeCreated
88 88
      */
89 89
     protected function applyPlaceCreated(PlaceCreated $placeCreated)
90 90
     {
@@ -114,6 +114,7 @@  discard block
 block discarded – undo
114 114
 
115 115
     /**
116 116
      * Handle an update command to update organizer.
117
+     * @param string $organizerId
117 118
      */
118 119
     public function updateOrganizer($organizerId)
119 120
     {
@@ -225,7 +226,7 @@  discard block
 block discarded – undo
225 226
      * @param string $cdbXmlNamespaceUri
226 227
      *   The cdb xml namespace uri.
227 228
      *
228
-     * @return Actor
229
+     * @return Place
229 230
      *   The actor.
230 231
      */
231 232
     public static function importFromUDB2Actor(
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@  discard block
 block discarded – undo
19 19
 use CultuurNet\UDB3\Place\Events\DescriptionUpdated;
20 20
 use CultuurNet\UDB3\Place\Events\FacilitiesUpdated;
21 21
 use CultuurNet\UDB3\Place\Events\ImageAdded;
22
-use CultuurNet\UDB3\Place\Events\ImageDeleted;
23 22
 use CultuurNet\UDB3\Place\Events\ImageRemoved;
24 23
 use CultuurNet\UDB3\Place\Events\ImageUpdated;
25 24
 use CultuurNet\UDB3\Place\Events\MainImageSelected;
@@ -38,7 +37,6 @@  discard block
 block discarded – undo
38 37
 use CultuurNet\UDB3\Place\Events\TypicalAgeRangeUpdated;
39 38
 use CultuurNet\UDB3\Theme;
40 39
 use CultuurNet\UDB3\Title;
41
-use Symfony\Component\EventDispatcher\Event;
42 40
 use ValueObjects\String\String;
43 41
 
44 42
 class Place extends Offer implements UpdateableWithCdbXmlInterface
Please login to merge, or discard this patch.