Skip to content

Commit

Permalink
global stopOnFail should be switched on and off
Browse files Browse the repository at this point in the history
  • Loading branch information
DavertMik committed Jun 4, 2014
1 parent cd29d62 commit 35c48b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Task/Development.php
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ protected function documentMethodDocBlock(\ReflectionMethod $reflectedMethod)
$methodDoc = call_user_func($this->processMethodDocBlock, $reflectedMethod, $methodDoc);
}

return trim($methodDoc);
return $methodDoc;
}

}
Expand Down
4 changes: 2 additions & 2 deletions src/Tasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit 35c48b0

Please sign in to comment.