Completed
Pull Request — master (#132)
by Mathias
01:41
created
src/Bridge/Doctrine/DBAL/Types/AbstractEnumType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
      *
102 102
      * @param mixed $value
103 103
      *
104
-     * @return mixed
104
+     * @return string
105 105
      */
106 106
     protected function cast($value)
107 107
     {
Please login to merge, or discard this patch.
src/Bridge/Doctrine/DBAL/Types/TypesDumper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -159,10 +159,10 @@
 block discarded – undo
159 159
         }
160 160
 
161 161
         if (is_bool($value)) {
162
-            return $value ? 'true': 'false';
162
+            return $value ? 'true' : 'false';
163 163
         }
164 164
 
165
-        return (string)$value;
165
+        return (string) $value;
166 166
     }
167 167
 
168 168
     public static function getTypeClassname(string $class, string $type): string
Please login to merge, or discard this patch.