mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
clean-up code comments
This commit is contained in:
@@ -68,7 +68,7 @@ final class PropertyRead extends TagWithType implements Factory\StaticMethod
|
|||||||
array_unshift($parts, $firstPart);
|
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) {
|
if (isset($parts[0]) && strpos($parts[0], '$') === 0) {
|
||||||
$variableName = array_shift($parts);
|
$variableName = array_shift($parts);
|
||||||
if ($type) {
|
if ($type) {
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ final class PropertyWrite extends TagWithType implements Factory\StaticMethod
|
|||||||
array_unshift($parts, $firstPart);
|
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) {
|
if (isset($parts[0]) && strpos($parts[0], '$') === 0) {
|
||||||
$variableName = array_shift($parts);
|
$variableName = array_shift($parts);
|
||||||
if ($type) {
|
if ($type) {
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ final class Var_ extends TagWithType implements Factory\StaticMethod
|
|||||||
array_unshift($parts, $firstPart);
|
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) {
|
if (isset($parts[0]) && strpos($parts[0], '$') === 0) {
|
||||||
$variableName = array_shift($parts);
|
$variableName = array_shift($parts);
|
||||||
if ($type) {
|
if ($type) {
|
||||||
|
|||||||
Reference in New Issue
Block a user