mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Param: do not resolve types if it's not possible (fix code style)
This commit is contained in:
@@ -145,12 +145,7 @@ final class Param extends TagWithType implements Factory\StaticMethod
|
|||||||
. ($this->description ? ' ' . $this->description : '');
|
. ($this->description ? ' ' . $this->description : '');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
private static function strStartsWithVariable(string $str) : bool
|
||||||
* @param string $str
|
|
||||||
*
|
|
||||||
* @return bool
|
|
||||||
*/
|
|
||||||
private static function strStartsWithVariable(string $str): bool
|
|
||||||
{
|
{
|
||||||
return strpos($str, '$') === 0
|
return strpos($str, '$') === 0
|
||||||
||
|
||
|
||||||
|
|||||||
Reference in New Issue
Block a user