Completed
Push — master ( 6a72a9...84e9aa )
by Davey
02:23
created
lib/mysql.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -637,7 +637,7 @@  discard block
 block discarded – undo
637 637
             }
638 638
 
639 639
             if (strtolower(substr($type, 0, 3)) == "set") {
640
-                return (int)strlen($what)
640
+                return (int) strlen($what)
641 641
                 - 2                                         // Remove open and closing quotes
642 642
                 - substr_count($what, "'")              // Remove quotes
643 643
                 + substr_count($what, "'''")            // Re-add escaped quotes
@@ -648,7 +648,7 @@  discard block
 block discarded – undo
648 648
                     )
649 649
                     / 2                                 // We have two quotes per value
650 650
                 )
651
-                - 1;                                    // But we have one less comma than values
651
+                - 1; // But we have one less comma than values
652 652
             }
653 653
 
654 654
             if (strtolower(substr($type, 0, 4) == "enum")) {
Please login to merge, or discard this patch.