Merge "Maintenance: detect missing parent::__construct()"
[lhc/web/wiklou.git] / includes / logging / DeleteLogFormatter.php
index ef9a2d4..01528b7 100644 (file)
@@ -20,7 +20,7 @@
  * @file
  * @author Niklas Laxström
  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
- * @since 1.21
+ * @since 1.22
  */
 
 /**
@@ -87,9 +87,9 @@ class DeleteLogFormatter extends LogFormatter {
                // Input is like ofield=2134 or just the number
                if ( strpos( $string, 'field=' ) === 1 ) {
                        list( , $field ) = explode( '=', $string );
-                       return (int) $field;
+                       return (int)$field;
                } else {
-                       return (int) $string;
+                       return (int)$string;
                }
        }