Completed
Push — master ( 821d88...fd922f )
by
unknown
28:29 queued 13s
created
src/Label/ReadModels/Relations/Repository/LabelRelation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         $this->labelName = $labelName;
46 46
         $this->relationType = $relationType;
47 47
         $this->relationId = $relationId;
48
-        $this->imported = (bool) $imported;
48
+        $this->imported = (bool)$imported;
49 49
     }
50 50
 
51 51
     /**
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
             new LabelName($relation[SchemaConfigurator::LABEL_NAME]),
104 104
             RelationType::fromNative($relation[SchemaConfigurator::RELATION_TYPE]),
105 105
             new StringLiteral($relation[SchemaConfigurator::RELATION_ID]),
106
-            (bool) $relation[SchemaConfigurator::IMPORTED]
106
+            (bool)$relation[SchemaConfigurator::IMPORTED]
107 107
         );
108 108
     }
109 109
 }
Please login to merge, or discard this patch.
src/Label/ReadModels/Relations/Projector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
 
186 186
         foreach ($labelCollection->asArray() as $label) {
187 187
             $this->writeRepository->save(
188
-                new LabelName((string) $label),
188
+                new LabelName((string)$label),
189 189
                 $relationType,
190 190
                 $relationId,
191 191
                 true
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
     {
202 202
         $labelRelation = null;
203 203
 
204
-        $labelName = new LabelName((string) $labelEvent->getLabel());
204
+        $labelName = new LabelName((string)$labelEvent->getLabel());
205 205
         $relationType = $this->offerTypeResolver->getRelationType($labelEvent);
206 206
         $relationId = new StringLiteral($labelEvent->getItemId());
207 207
 
Please login to merge, or discard this patch.
src/Label/ReadModels/Relations/Repository/Doctrine/DBALReadRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
     public function getLabelRelations(LabelName $labelName)
17 17
     {
18 18
         $aliases = $this->getAliases();
19
-        $whereLabelName = SchemaConfigurator::LABEL_NAME . ' = ?';
19
+        $whereLabelName = SchemaConfigurator::LABEL_NAME.' = ?';
20 20
 
21 21
         $queryBuilder = $this->createQueryBuilder()->select($aliases)
22 22
             ->from($this->getTableName()->toNative())
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     public function getLabelRelationsForItem(StringLiteral $relationId)
38 38
     {
39 39
         $aliases = $this->getAliases();
40
-        $whereRelationId = SchemaConfigurator::RELATION_ID . ' = ?';
40
+        $whereRelationId = SchemaConfigurator::RELATION_ID.' = ?';
41 41
 
42 42
         $queryBuilder = $this->createQueryBuilder()->select($aliases)
43 43
             ->from($this->getTableName()->toNative())
Please login to merge, or discard this patch.