Completed
Push — master ( 4290cd...77e141 )
by Jonas
16s queued 11s
created
src/HasCdbXmlTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     {
26 26
         if (!is_string($cdbXml)) {
27 27
             throw new \InvalidArgumentException(
28
-                'Expected argument 1 to be a scalar string, received ' . gettype($cdbXml)
28
+                'Expected argument 1 to be a scalar string, received '.gettype($cdbXml)
29 29
             );
30 30
         }
31 31
         $this->cdbXml = $cdbXml;
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     {
39 39
         if (!is_string($cdbXmlNamespaceUri)) {
40 40
             throw new \InvalidArgumentException(
41
-                'Expected argument 1 to be a scalar string, received ' . gettype($cdbXmlNamespaceUri)
41
+                'Expected argument 1 to be a scalar string, received '.gettype($cdbXmlNamespaceUri)
42 42
             );
43 43
         }
44 44
         $this->cdbXmlNamespaceUri = $cdbXmlNamespaceUri;
Please login to merge, or discard this patch.
src/Media/ImageUploaderService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,8 +91,8 @@
 block discarded – undo
91 91
         $mimeType = MIMEType::fromNative($mimeTypeString);
92 92
 
93 93
         $fileId = new UUID($this->uuidGenerator->generate());
94
-        $fileName = $fileId . '.' . $file->guessExtension();
95
-        $destination = $this->getUploadDirectory() . '/' . $fileName;
94
+        $fileName = $fileId.'.'.$file->guessExtension();
95
+        $destination = $this->getUploadDirectory().'/'.$fileName;
96 96
         $stream = fopen($file->getRealPath(), 'r+');
97 97
         $this->filesystem->writeStream($destination, $stream);
98 98
         fclose($stream);
Please login to merge, or discard this patch.
src/Event/EventEvent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     {
19 19
         if (!is_string($eventId)) {
20 20
             throw new \InvalidArgumentException(
21
-                'Expected eventId to be a string, received ' . gettype($eventId)
21
+                'Expected eventId to be a string, received '.gettype($eventId)
22 22
             );
23 23
         }
24 24
 
Please login to merge, or discard this patch.
src/Offer/Events/AbstractContactPointUpdated.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-     * @return mixed The object instance
41
+     * @return AbstractContactPointUpdated The object instance
42 42
      */
43 43
     public static function deserialize(array $data)
44 44
     {
Please login to merge, or discard this patch.
src/Offer/IriOfferIdentifier.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     public function jsonSerialize()
67 67
     {
68 68
         return [
69
-            '@id' => (string) $this->iri,
69
+            '@id' => (string)$this->iri,
70 70
             '@type' => $this->type->toNative(),
71 71
         ];
72 72
     }
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
     {
79 79
         return json_encode(
80 80
             [
81
-                'iri' => (string) $this->iri,
81
+                'iri' => (string)$this->iri,
82 82
                 'id' => $this->id,
83 83
                 'type' => $this->type->toNative(),
84 84
             ]
Please login to merge, or discard this patch.
src/Offer/Events/AbstractLabelEvent.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 
46 46
     /**
47 47
      * @param array $data
48
-     * @return mixed The object instance
48
+     * @return AbstractLabelEvent The object instance
49 49
      */
50 50
     public static function deserialize(array $data)
51 51
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     public function serialize()
39 39
     {
40 40
         return parent::serialize() + array(
41
-            'label' => (string) $this->label,
41
+            'label' => (string)$this->label,
42 42
             'visibility' => $this->label->isVisible(),
43 43
         );
44 44
     }
Please login to merge, or discard this patch.
src/EventSourcing/DBAL/UniqueConstraintException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function __construct($uuid, $unique)
13 13
     {
14
-        $message = 'Not unique: uuid = ' . $uuid . ', unique value = ' . $unique;
14
+        $message = 'Not unique: uuid = '.$uuid.', unique value = '.$unique;
15 15
         parent::__construct($message);
16 16
     }
17 17
 }
Please login to merge, or discard this patch.
src/Label/ReadModels/JSON/Repository/SimilaritySorter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function sort(array &$entities, StringLiteral $value)
15 15
     {
16
-        return usort($entities, function ($entity1, $entity2) use ($value) {
16
+        return usort($entities, function($entity1, $entity2) use ($value) {
17 17
             /** @var Entity $entity1 */
18 18
             $weight1 = $this->getWeight($entity1, $value);
19 19
 
Please login to merge, or discard this patch.
src/Label/ReadModels/JSON/Projector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
     {
143 143
         $uuid = null;
144 144
 
145
-        $name = new StringLiteral((string) $labelEvent->getLabel());
145
+        $name = new StringLiteral((string)$labelEvent->getLabel());
146 146
 
147 147
         $entity = $this->readRepository->getByName($name);
148 148
         if ($entity !== null) {
Please login to merge, or discard this patch.