From acf538a461688a8a56ffef2cabb01f8df674f7d6 Mon Sep 17 00:00:00 2001 From: Lars Moelleken Date: Tue, 1 Sep 2020 19:42:29 +0200 Subject: [PATCH] Param: do not resolve types if it's not possible (fix code style) --- src/DocBlock/Tags/Param.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/DocBlock/Tags/Param.php b/src/DocBlock/Tags/Param.php index dea81a7..281756f 100644 --- a/src/DocBlock/Tags/Param.php +++ b/src/DocBlock/Tags/Param.php @@ -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 ||