@@ -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 = []) |
@@ -329,7 +329,7 @@ discard block |
||
329 | 329 | |
330 | 330 | /** |
331 | 331 | * Removes an observer callback for the given prototype. |
332 | - * @param \arc\prototype\Prototyp $prototype |
|
332 | + * @param prototype\Prototype $prototype |
|
333 | 333 | * @param \Closure $callback the observer callback to be removed |
334 | 334 | */ |
335 | 335 | public static function unobserve(prototype\Prototype $prototype, callable $callback) :void |
@@ -342,7 +342,6 @@ discard block |
||
342 | 342 | /** |
343 | 343 | * Returns true if the object as the given prototype somewhere in its |
344 | 344 | * prototype chain, including itself. |
345 | - * @param \arc\prototype\Prototype $object |
|
346 | 345 | * @param \arc\prototype\Prototype $prototype |
347 | 346 | * @return bool |
348 | 347 | */ |