Permalink
Browse files

Force the value of Dumper::setIndentation($num) to be of type integer.

  • Loading branch information...
1 parent a129755 commit 6b3eb66a7c4495dcaa35a64dd93c8ba8c29f35d8 @sun sun committed Aug 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Dumper.php
View
@@ -32,7 +32,7 @@ class Dumper
*/
public function setIndentation($num)
{
- $this->indentation = $num;
+ $this->indentation = (int) $num;
}
/**

0 comments on commit 6b3eb66

Please sign in to comment.