@@ -97,7 +97,7 @@ |
||
97 | 97 | /** |
98 | 98 | * Returns the superclass this class is extending if available. |
99 | 99 | * |
100 | - * @return NUll|Fqsen |
|
100 | + * @return Class_ |
|
101 | 101 | */ |
102 | 102 | public function getParent() |
103 | 103 | { |
@@ -87,6 +87,9 @@ discard block |
||
87 | 87 | return $docComment; |
88 | 88 | } |
89 | 89 | |
90 | + /** |
|
91 | + * @return \PhpParser\Node\Expr |
|
92 | + */ |
|
90 | 93 | public function getValue() |
91 | 94 | { |
92 | 95 | return $this->classConstants->consts[$this->index]->value; |
@@ -96,7 +99,7 @@ discard block |
||
96 | 99 | * (PHP 5 >= 5.0.0)<br/> |
97 | 100 | * Return the current element |
98 | 101 | * @link http://php.net/manual/en/iterator.current.php |
99 | - * @return mixed Can return any type. |
|
102 | + * @return ClassConstantIterator Can return any type. |
|
100 | 103 | */ |
101 | 104 | public function current() |
102 | 105 | { |
@@ -118,7 +121,7 @@ discard block |
||
118 | 121 | * (PHP 5 >= 5.0.0)<br/> |
119 | 122 | * Return the key of the current element |
120 | 123 | * @link http://php.net/manual/en/iterator.key.php |
121 | - * @return mixed scalar on success, or null on failure. |
|
124 | + * @return integer scalar on success, or null on failure. |
|
122 | 125 | */ |
123 | 126 | public function key() |
124 | 127 | { |
@@ -103,7 +103,7 @@ |
||
103 | 103 | * Gets Namespace from the project if it exists, otherwise returns a new namepace |
104 | 104 | * |
105 | 105 | * @param Project $project |
106 | - * @param $name |
|
106 | + * @param string $name |
|
107 | 107 | * @return Namespace_ |
108 | 108 | */ |
109 | 109 | private function getNamespaceByName(Project $project, $name) |
@@ -99,7 +99,6 @@ |
||
99 | 99 | /** |
100 | 100 | * Calculates the price for this specific component. |
101 | 101 | * |
102 | - * @param float[] $...additionalPrices Additional costs may be passed |
|
103 | 102 | * |
104 | 103 | * @return float |
105 | 104 | */ |
@@ -62,7 +62,7 @@ |
||
62 | 62 | * @param ClassConstantIterator $object object to convert to an Element |
63 | 63 | * @param StrategyContainer $strategies used to convert nested objects. |
64 | 64 | * @param Context $context of the created object |
65 | - * @return Constant |
|
65 | + * @return ConstantElement |
|
66 | 66 | */ |
67 | 67 | protected function doCreate($object, StrategyContainer $strategies, Context $context = null) |
68 | 68 | { |