phpdoc: populate missing parameter typeinfo

This commit is contained in:
Dylan K. Taylor
2020-01-11 21:53:24 +00:00
parent c329ff7d4f
commit 17720041a3
20 changed files with 260 additions and 3 deletions

View File

@@ -554,6 +554,9 @@ class Utils{
return json_decode(base64_decode(strtr($payloadB64, '-_', '+/'), true), true);
}
/**
* @param int $pid
*/
public static function kill($pid) : void{
if(MainLogger::isRegisteredStatic()){
MainLogger::getLogger()->syncFlushBuffer();
@@ -654,6 +657,11 @@ class Utils{
return self::printableTrace(self::currentTrace(++$skipFrames));
}
/**
* @param string $path
*
* @return string
*/
public static function cleanPath($path){
$result = str_replace(["\\", ".php", "phar://"], ["/", "", ""], $path);