@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | * |
84 | 84 | * @param string|integer $key The kex/index of the element to remove. |
85 | 85 | * |
86 | - * @return mixed The removed element or NULL, if the collection did not contain the element. |
|
86 | + * @return null|DeltaInterface The removed element or NULL, if the collection did not contain the element. |
|
87 | 87 | */ |
88 | 88 | public function remove($key); |
89 | 89 | |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | /** |
100 | 100 | * Gets all keys/indices of the collection. |
101 | 101 | * |
102 | - * @return array The keys/indices of the collection, in the order of the corresponding |
|
102 | + * @return integer[] The keys/indices of the collection, in the order of the corresponding |
|
103 | 103 | * elements in the collection. |
104 | 104 | */ |
105 | 105 | public function getKeys(); |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | * |
189 | 189 | * @param Closure $func |
190 | 190 | * |
191 | - * @return array |
|
191 | + * @return \Baleen\Migrations\Delta\DeltaId[] |
|
192 | 192 | */ |
193 | 193 | public function map(Closure $func); |
194 | 194 | |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | * @param int $offset The offset to start from. |
215 | 215 | * @param int|null $length The maximum number of elements to return, or null for no limit. |
216 | 216 | * |
217 | - * @return array |
|
217 | + * @return DeltaInterface[] |
|
218 | 218 | */ |
219 | 219 | public function slice($offset, $length = null); |
220 | 220 |
@@ -70,7 +70,7 @@ |
||
70 | 70 | /** |
71 | 71 | * Update the current progress |
72 | 72 | * |
73 | - * @param $newProgress |
|
73 | + * @param integer $newProgress |
|
74 | 74 | * |
75 | 75 | * @return void |
76 | 76 | * |
@@ -141,7 +141,7 @@ |
||
141 | 141 | /** |
142 | 142 | * Add a version to the collection |
143 | 143 | * |
144 | - * @param mixed $version |
|
144 | + * @param DeltaInterface $version |
|
145 | 145 | * |
146 | 146 | * @return bool |
147 | 147 | * |
@@ -49,7 +49,7 @@ |
||
49 | 49 | * |
50 | 50 | * @param SingleCommand $command |
51 | 51 | * |
52 | - * @return DeltaInterface |
|
52 | + * @return boolean |
|
53 | 53 | */ |
54 | 54 | public function handle(SingleCommand $command) |
55 | 55 | { |