Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'intellix-patch-3'
Browse files Browse the repository at this point in the history
  • Loading branch information
ezimuel committed Feb 5, 2013
4 parents 139c0b1 + a587eef + 7a782f4 + 1f8f95a commit 9fa3c05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Writer/ChromePhp.php
Expand Up @@ -34,7 +34,7 @@ class ChromePhp extends AbstractWriter
public function __construct($instance = null)
{
if ($instance instanceof Traversable) {
$inatce = iterator_to_array($instance);
$instance = iterator_to_array($instance);
}

if (is_array($instance)) {
Expand Down
4 changes: 3 additions & 1 deletion test/Writer/MailTest.php
Expand Up @@ -52,7 +52,9 @@ protected function setUp()

protected function tearDown()
{
@unlink(__DIR__. '/' . self::FILENAME);
if (file_exists(__DIR__. '/' . self::FILENAME)) {
unlink(__DIR__. '/' . self::FILENAME);
}
}

/**
Expand Down

0 comments on commit 9fa3c05

Please sign in to comment.