Completed
Push — master ( 82f14f...636df4 )
by Kristof
10s
created
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   -4 removed lines patch added patch discarded remove patch
@@ -12,14 +12,11 @@  discard block
 block discarded – undo
12 12
 use CultuurNet\UDB3\Offer\Commands\Image\AbstractUpdateImage;
13 13
 use CultuurNet\UDB3\Offer\Offer;
14 14
 use CultuurNet\UDB3\Media\Image;
15
-use CultuurNet\UDB3\Media\MediaObject;
16
-use CultuurNet\UDB3\Place\Commands\UpdateImage;
17 15
 use CultuurNet\UDB3\Place\Events\BookingInfoUpdated;
18 16
 use CultuurNet\UDB3\Place\Events\ContactPointUpdated;
19 17
 use CultuurNet\UDB3\Place\Events\DescriptionUpdated;
20 18
 use CultuurNet\UDB3\Place\Events\FacilitiesUpdated;
21 19
 use CultuurNet\UDB3\Place\Events\ImageAdded;
22
-use CultuurNet\UDB3\Place\Events\ImageDeleted;
23 20
 use CultuurNet\UDB3\Place\Events\ImageRemoved;
24 21
 use CultuurNet\UDB3\Place\Events\ImageUpdated;
25 22
 use CultuurNet\UDB3\Place\Events\LabelAdded;
@@ -36,7 +33,6 @@  discard block
 block discarded – undo
36 33
 use CultuurNet\UDB3\Place\Events\TypicalAgeRangeUpdated;
37 34
 use CultuurNet\UDB3\Theme;
38 35
 use CultuurNet\UDB3\Title;
39
-use Symfony\Component\EventDispatcher\Event;
40 36
 
41 37
 class Place extends Offer implements UpdateableWithCdbXmlInterface
42 38
 {
Please login to merge, or discard this patch.
src/Offer/Events/Image/AbstractImageEvent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 
49 49
     /**
50 50
      * @param array $data
51
-     * @return mixed The object instance
51
+     * @return AbstractImageEvent The object instance
52 52
      */
53 53
     public static function deserialize(array $data)
54 54
     {
Please login to merge, or discard this patch.