Skip to content

Commit

Permalink
Merge pull request #42 from staabm/patch-1
Browse files Browse the repository at this point in the history
Fixed debug leftover
  • Loading branch information
raulfraile committed Oct 2, 2013
2 parents cdea283 + 47fcb86 commit a40d9d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ladybug/Type/FactoryType.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function add(TypeInterface $type, $key = null)
public function factory($var, $level = 1)
{
$result = null;
$this->isResource(1);

if (null === $var) {
$result = clone($this->types['type_null']);
} elseif (is_bool($var)) {
Expand Down

0 comments on commit a40d9d1

Please sign in to comment.