Fixing PHPStan found errors
This commit is contained in:
parent
b16c83b8c4
commit
db7be31160
|
@ -33,8 +33,9 @@ function _taskman_default_usage($script_name = "<taskman-script>")
|
|||
} //namespace global
|
||||
|
||||
namespace taskman {
|
||||
use Exception;
|
||||
|
||||
class TaskmanException extends \Exception
|
||||
class TaskmanException extends Exception
|
||||
{}
|
||||
|
||||
class TaskmanTask
|
||||
|
@ -205,7 +206,7 @@ class TaskmanTask
|
|||
return array();
|
||||
}
|
||||
|
||||
private function _parseProps(ReflectionFunction $refl)
|
||||
private function _parseProps(\ReflectionFunction $refl)
|
||||
{
|
||||
if(preg_match_all('~@(\S+)([^\n]+)?\n~', $refl->getDocComment(), $matches))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue