diff --git a/src/DocBlock/Tags/PropertyRead.php b/src/DocBlock/Tags/PropertyRead.php index 674a7b0..fbe387f 100644 --- a/src/DocBlock/Tags/PropertyRead.php +++ b/src/DocBlock/Tags/PropertyRead.php @@ -68,7 +68,7 @@ final class PropertyRead extends TagWithType implements Factory\StaticMethod array_unshift($parts, $firstPart); } - // if the next item starts with a $ or ...$ it must be the variable name + // if the next item starts with a $ it must be the variable name if (isset($parts[0]) && strpos($parts[0], '$') === 0) { $variableName = array_shift($parts); if ($type) { diff --git a/src/DocBlock/Tags/PropertyWrite.php b/src/DocBlock/Tags/PropertyWrite.php index 4962461..42c9207 100644 --- a/src/DocBlock/Tags/PropertyWrite.php +++ b/src/DocBlock/Tags/PropertyWrite.php @@ -68,7 +68,7 @@ final class PropertyWrite extends TagWithType implements Factory\StaticMethod array_unshift($parts, $firstPart); } - // if the next item starts with a $ or ...$ it must be the variable name + // if the next item starts with a $ it must be the variable name if (isset($parts[0]) && strpos($parts[0], '$') === 0) { $variableName = array_shift($parts); if ($type) { diff --git a/src/DocBlock/Tags/Var_.php b/src/DocBlock/Tags/Var_.php index 90729a2..a2d4426 100644 --- a/src/DocBlock/Tags/Var_.php +++ b/src/DocBlock/Tags/Var_.php @@ -69,7 +69,7 @@ final class Var_ extends TagWithType implements Factory\StaticMethod array_unshift($parts, $firstPart); } - // if the next item starts with a $ or ...$ it must be the variable name + // if the next item starts with a $ it must be the variable name if (isset($parts[0]) && strpos($parts[0], '$') === 0) { $variableName = array_shift($parts); if ($type) {