Skip to content

Commit b5f863d

Browse files
committed
Param: fix phpdoc with reference hint (code style fixes)
1 parent 443d86e commit b5f863d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/DocBlock/Tags/Param.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ public static function create(
8383
}
8484

8585
// if the next item starts with a $ or ...$ or &$ or &...$ it must be the variable name
86-
if (
87-
isset($parts[0])
86+
if (isset($parts[0])
8887
&&
8988
(
9089
strpos($parts[0], '$') === 0
@@ -103,7 +102,7 @@ public static function create(
103102

104103
if (strpos($variableName, '$') === 0) {
105104
$variableName = substr($variableName, 1);
106-
} elseif(strpos($variableName, '&$') === 0) {
105+
} elseif (strpos($variableName, '&$') === 0) {
107106
$isReference = true;
108107
$variableName = substr($variableName, 2);
109108
} elseif (strpos($variableName, '...$') === 0) {

0 commit comments

Comments
 (0)