Param: do not resolve types if it's not possible (fix code style)

This commit is contained in:
Lars Moelleken
2020-09-01 19:42:29 +02:00
parent 2e6cecb9ef
commit acf538a461
+1 -6
View File
@@ -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
|| ||