@@ 89-94 (lines=6) @@ | ||
86 | ||
87 | $docblock = new DocBlockGenerator('Gets or sets the inner value'); |
|
88 | $paramTag = new ParamTag("value", "mixed"); |
|
89 | if ($type && $type instanceof PHPClassOf) { |
|
90 | $paramTag->setTypes($this->getPhpType($type->getArg() |
|
91 | ->getType()) . "[]"); |
|
92 | } elseif ($type) { |
|
93 | $paramTag->setTypes($this->getPhpType($prop->getType())); |
|
94 | } |
|
95 | $docblock->setTag($paramTag); |
|
96 | ||
97 | $returnTag = new ReturnTag("mixed"); |
|
@@ 99-104 (lines=6) @@ | ||
96 | ||
97 | $returnTag = new ReturnTag("mixed"); |
|
98 | ||
99 | if ($type && $type instanceof PHPClassOf) { |
|
100 | $returnTag->setTypes($this->getPhpType($type->getArg() |
|
101 | ->getType()) . "[]"); |
|
102 | } elseif ($type) { |
|
103 | $returnTag->setTypes($this->getPhpType($type)); |
|
104 | } |
|
105 | $docblock->setTag($returnTag); |
|
106 | ||
107 | $param = new ParameterGenerator("value"); |