@@ -418,6 +418,7 @@ |
||
418 | 418 | /** |
419 | 419 | * 'private' function that must be declared outside static scope, so we can bind |
420 | 420 | * the closure to an object to peek into its private _ownProperties property |
421 | + * @param prototype\Object $prototype |
|
421 | 422 | */ |
422 | 423 | function _getOwnEntries($prototype) { |
423 | 424 | // this needs access to the private _ownProperties variable |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | } |
231 | 231 | |
232 | 232 | /** |
233 | - * @return mixed |
|
233 | + * @return string |
|
234 | 234 | */ |
235 | 235 | public function __toString() |
236 | 236 | { |
@@ -283,6 +283,7 @@ discard block |
||
283 | 283 | * Only call $f if it is a callable. |
284 | 284 | * @param $f |
285 | 285 | * @param array $args |
286 | + * @param string $name |
|
286 | 287 | * @return mixed |
287 | 288 | */ |
288 | 289 | private function _tryToCall($name, $args = []) |