Completed
Pull Request — master (#579)
by Jonatan
03:16
created
src/JMS/Serializer/Metadata/ClassMetadata.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -244,7 +244,7 @@
 block discarded – undo
244 244
         $deserializedData = unserialize($str);
245 245
 
246 246
         // If an invalid cache gets deserialized, fail with an Exception to prevent further errors.
247
-        if(count($deserializedData) !== self::COUNT_PARAMS) {
247
+        if (count($deserializedData) !== self::COUNT_PARAMS) {
248 248
             throw new \RuntimeException('The jms serializer cache is invalid. Clear the cache.');
249 249
         }
250 250
 
Please login to merge, or discard this patch.