mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-17 17:47: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 : '');
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $str
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
private static function strStartsWithVariable(string $str): bool
|
||||
private static function strStartsWithVariable(string $str) : bool
|
||||
{
|
||||
return strpos($str, '$') === 0
|
||||
||
|
||||
|
||||
Reference in New Issue
Block a user