We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 443d86e commit b5f863dCopy full SHA for b5f863d
src/DocBlock/Tags/Param.php
@@ -83,8 +83,7 @@ public static function create(
83
}
84
85
// if the next item starts with a $ or ...$ or &$ or &...$ it must be the variable name
86
- if (
87
- isset($parts[0])
+ if (isset($parts[0])
88
&&
89
(
90
strpos($parts[0], '$') === 0
@@ -103,7 +102,7 @@ public static function create(
103
102
104
if (strpos($variableName, '$') === 0) {
105
$variableName = substr($variableName, 1);
106
- } elseif(strpos($variableName, '&$') === 0) {
+ } elseif (strpos($variableName, '&$') === 0) {
107
$isReference = true;
108
$variableName = substr($variableName, 2);
109
} elseif (strpos($variableName, '...$') === 0) {
0 commit comments