Skip to content

Commit 65f0c83

Browse files
committed
Merge pull request #86 from elicoten/master
[BUGFIX] Return array parameters rather than dump them immediately
2 parents 900ecef + 1de5202 commit 65f0c83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AspectMock/Util/ArgumentsFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ protected static function format($arg)
1313
{
1414
if ($arg instanceof \Closure) return "func()";
1515
if (is_object($arg)) return '['.get_class($arg).']';
16-
if (is_array($arg)) return var_export($arg);
16+
if (is_array($arg)) return var_export($arg, true);
1717
if (is_string($arg)) return "'$arg'";
1818
if (is_scalar($arg)) return $arg;
1919
return "*";

0 commit comments

Comments
 (0)