@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | * Add an object to this collection |
21 | 21 | * @param object $object The object you want to add |
22 | 22 | * |
23 | - * @return True when added with success, else false |
|
23 | + * @return boolean when added with success, else false |
|
24 | 24 | */ |
25 | 25 | public function add($object) |
26 | 26 | { |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | * |
38 | 38 | * @param Integer $key The key (index) of object in the collection. |
39 | 39 | * |
40 | - * @return false|object The deleted object or false if not found |
|
40 | + * @return boolean The deleted object or false if not found |
|
41 | 41 | * @throws \TypeError Throw when key is not an integer |
42 | 42 | */ |
43 | 43 | public function delete($key) |