Use (int) rather than intval()
[lhc/web/wiklou.git] / includes / api / ApiImport.php
index a0f0a8d..596ab75 100644 (file)
@@ -1,9 +1,5 @@
 <?php
 /**
- *
- *
- * Created on Feb 4, 2009
- *
  * Copyright © 2009 Roan Kattouw "<Firstname>.<Lastname>@gmail.com"
  *
  * This program is free software; you can redistribute it and/or modify
@@ -211,7 +207,7 @@ class ApiImportReporter extends ImportReporter {
                        $r['invalid'] = true;
                } else {
                        ApiQueryBase::addTitleInfo( $r, $title );
-                       $r['revisions'] = intval( $successCount );
+                       $r['revisions'] = (int)$successCount;
                }
 
                $this->mResultArr[] = $r;