30
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-06-03 06:50:49 +00:00

Improve documentation and return values

This commit is contained in:
Francesco Abeni 2015-10-31 12:54:14 +01:00
parent 74f35976a7
commit 4896d5c6e2

View File

@ -156,6 +156,13 @@ class RoboFile extends \Robo\Tasks
->stopOnFail(); ->stopOnFail();
} }
/**
* Run the specified checker tool. Valid options are phpmd, phpcs, phpcpd
*
* @param string $tool
*
* @return bool
*/
public function runChecker($tool = null) public function runChecker($tool = null)
{ {
if ($tool === null) { if ($tool === null) {