Completed
Pull Request — master (#294)
by Luc
09:31 queued 05:01
created
src/Offer/Events/AbstractTypicalAgeRangeUpdated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     public function serialize()
37 37
     {
38 38
         return parent::serialize() + array(
39
-            'typicalAgeRange' => (string) $this->typicalAgeRange,
39
+            'typicalAgeRange' => (string)$this->typicalAgeRange,
40 40
         );
41 41
     }
42 42
 
Please login to merge, or discard this patch.
src/Offer/AgeRange.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,10 +63,10 @@
 block discarded – undo
63 63
      */
64 64
     public function __toString()
65 65
     {
66
-        $from = $this->from ? (string) $this->from : '';
67
-        $to = $this->to ? (string) $this->to : '';
66
+        $from = $this->from ? (string)$this->from : '';
67
+        $to = $this->to ? (string)$this->to : '';
68 68
 
69
-        return $from . '-' . $to;
69
+        return $from.'-'.$to;
70 70
     }
71 71
 
72 72
     /**
Please login to merge, or discard this patch.
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/Repository/Doctrine/DBALReadRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     public function getLabelRelations(LabelName $labelName)
18 18
     {
19 19
         $aliases = $this->getAliases();
20
-        $whereLabelName = SchemaConfigurator::LABEL_NAME . ' = ?';
20
+        $whereLabelName = SchemaConfigurator::LABEL_NAME.' = ?';
21 21
 
22 22
         $queryBuilder = $this->createQueryBuilder()->select($aliases)
23 23
             ->from($this->getTableName()->toNative())
@@ -40,8 +40,8 @@  discard block
 block discarded – undo
40 40
         StringLiteral $relationId
41 41
     ) {
42 42
         $aliases = $this->getAliases();
43
-        $whereRelationType = SchemaConfigurator::RELATION_TYPE . ' = ?';
44
-        $whereRelationId = SchemaConfigurator::RELATION_ID . ' = ?';
43
+        $whereRelationType = SchemaConfigurator::RELATION_TYPE.' = ?';
44
+        $whereRelationId = SchemaConfigurator::RELATION_ID.' = ?';
45 45
 
46 46
         $queryBuilder = $this->createQueryBuilder()->select($aliases)
47 47
             ->from($this->getTableName()->toNative())
Please login to merge, or discard this patch.