diff --git a/src/Task/Development.php b/src/Task/Development.php index bd9814cae..299a2979a 100644 --- a/src/Task/Development.php +++ b/src/Task/Development.php @@ -463,7 +463,7 @@ protected function documentMethodDocBlock(\ReflectionMethod $reflectedMethod) $methodDoc = call_user_func($this->processMethodDocBlock, $reflectedMethod, $methodDoc); } - return trim($methodDoc); + return $methodDoc; } } diff --git a/src/Tasks.php b/src/Tasks.php index 661ec6052..795ba686d 100644 --- a/src/Tasks.php +++ b/src/Tasks.php @@ -22,8 +22,8 @@ class Tasks use Task\Rsync; use Output; - protected function stopOnFail() + protected function stopOnFail($stopOnFail = true) { - Result::$stopOnFail = true; + Result::$stopOnFail = $stopOnFail; } }