@@ -303,7 +303,7 @@ |
||
303 | 303 | |
304 | 304 | /** |
305 | 305 | * Removes an observer callback for the given prototype. |
306 | - * @param \arc\prototype\Prototyp $prototype |
|
306 | + * @param prototype\Prototype $prototype |
|
307 | 307 | * @param \Closure $callback the observer callback to be removed |
308 | 308 | */ |
309 | 309 | public static function unobserve($prototype, $callback) |
@@ -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 = []) |