@@ -142,7 +142,6 @@ |
||
| 142 | 142 | * Gets static property value. |
| 143 | 143 | * |
| 144 | 144 | * @param string $name The name of the static property |
| 145 | - * @param mixed $default Optional default value to return if the property does not exist |
|
| 146 | 145 | * |
| 147 | 146 | * @throws \ReflectionException If the property does not exist and default value is omitted. |
| 148 | 147 | * |
@@ -132,7 +132,7 @@ |
||
| 132 | 132 | /** |
| 133 | 133 | * Gets the name of the extension which defined the entity. |
| 134 | 134 | * |
| 135 | - * @return string|bool Extension name or false for user defined |
|
| 135 | + * @return boolean Extension name or false for user defined |
|
| 136 | 136 | */ |
| 137 | 137 | public function getExtensionName() |
| 138 | 138 | { |
@@ -35,6 +35,9 @@ |
||
| 35 | 35 | return $this->index->getClass($this->getParent()); |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | + /** |
|
| 39 | + * @param string $parent |
|
| 40 | + */ |
|
| 38 | 41 | public function setParent($parent) |
| 39 | 42 | { |
| 40 | 43 | $this->parent = $parent; |
@@ -217,7 +217,6 @@ discard block |
||
| 217 | 217 | * |
| 218 | 218 | * |
| 219 | 219 | * @param object $object The object to invoke the method on. For static methods, pass null to this parameter. |
| 220 | - * @param mixed $parameter Zero or more parameters to be passed to the method. It accepts a variable number of parameters which are passed to the method. |
|
| 221 | 220 | * |
| 222 | 221 | * @throws \ReflectionException Always... Can't be implemented. |
| 223 | 222 | * |
@@ -251,6 +250,9 @@ discard block |
||
| 251 | 250 | return $this; |
| 252 | 251 | } |
| 253 | 252 | |
| 253 | + /** |
|
| 254 | + * @param string $name |
|
| 255 | + */ |
|
| 254 | 256 | public function addStaticVariable($name, $value) |
| 255 | 257 | { |
| 256 | 258 | $this->staticVariables[(string) $name] = $value; |
@@ -258,6 +260,9 @@ discard block |
||
| 258 | 260 | return $this; |
| 259 | 261 | } |
| 260 | 262 | |
| 263 | + /** |
|
| 264 | + * @param boolean $returnsByRef |
|
| 265 | + */ |
|
| 261 | 266 | public function setReturnsByRef($returnsByRef) |
| 262 | 267 | { |
| 263 | 268 | $this->returnsByRef = (bool) $returnsByRef; |
@@ -265,6 +270,9 @@ discard block |
||
| 265 | 270 | return $this; |
| 266 | 271 | } |
| 267 | 272 | |
| 273 | + /** |
|
| 274 | + * @param boolean $isGenerator |
|
| 275 | + */ |
|
| 268 | 276 | public function setGenerator($isGenerator) |
| 269 | 277 | { |
| 270 | 278 | $this->isGenerator = (bool) $isGenerator; |