Passed
Pull Request — 2.6 (#7821)
by Marco
11:52
created
tests/Doctrine/Tests/ORM/Functional/Ticket/GH7820Test.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     {
48 48
         parent::setUp();
49 49
 
50
-        if (! Type::hasType(GH7820LineTextType::class)) {
50
+        if ( ! Type::hasType(GH7820LineTextType::class)) {
51 51
             Type::addType(GH7820LineTextType::class, GH7820LineTextType::class);
52 52
         }
53 53
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 
69 69
         self::assertSame(
70 70
             self::SONG,
71
-            array_map(static function (GH7820Line $line) : string {
71
+            array_map(static function(GH7820Line $line) : string {
72 72
                 return $line->toString();
73 73
             }, iterator_to_array(new Paginator($query)))
74 74
         );
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 
126 126
     public function __toString() : string
127 127
     {
128
-        return 'Line: ' . $this->text;
128
+        return 'Line: '.$this->text;
129 129
     }
130 130
 }
131 131
 
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     {
136 136
         $text = parent::convertToPHPValue($value, $platform);
137 137
 
138
-        if (! is_string($text)) {
138
+        if ( ! is_string($text)) {
139 139
             return $text;
140 140
         }
141 141
 
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 
145 145
     public function convertToDatabaseValue($value, AbstractPlatform $platform)
146 146
     {
147
-        if (! $value instanceof GH7820LineText) {
147
+        if ( ! $value instanceof GH7820LineText) {
148 148
             return parent::convertToDatabaseValue($value, $platform);
149 149
         }
150 150
 
Please login to merge, or discard this patch.