From 601cb7931fadc5f873a6c18e1889e55ffcc055e3 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Sun, 26 Feb 2012 20:01:43 -0500 Subject: [PATCH] Fix whitespace. --- PHPUnit/Util/Class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/PHPUnit/Util/Class.php b/PHPUnit/Util/Class.php index dee8ee3c389..846a1540c75 100644 --- a/PHPUnit/Util/Class.php +++ b/PHPUnit/Util/Class.php @@ -171,6 +171,7 @@ public static function getMethodParameters($method, $forCall = FALSE) $value = $parameter->getDefaultValue(); $default = ' = ' . var_export($value, TRUE); } + else if ($parameter->isOptional()) { $default = ' = null'; }