| @@ -37,6 +37,7 @@ discard block | ||
| 37 | 37 | * @param object $object | 
| 38 | 38 | * | 
| 39 | 39 | * @throws ModelManagerException | 
| 40 | + * @return void | |
| 40 | 41 | */ | 
| 41 | 42 | public function create($object); | 
| 42 | 43 | |
| @@ -44,6 +45,7 @@ discard block | ||
| 44 | 45 | * @param object $object | 
| 45 | 46 | * | 
| 46 | 47 | * @throws ModelManagerException | 
| 48 | + * @return void | |
| 47 | 49 | */ | 
| 48 | 50 | public function update($object); | 
| 49 | 51 | |
| @@ -51,6 +53,7 @@ discard block | ||
| 51 | 53 | * @param object $object | 
| 52 | 54 | * | 
| 53 | 55 | * @throws ModelManagerException | 
| 56 | + * @return void | |
| 54 | 57 | */ | 
| 55 | 58 | public function delete($object); | 
| 56 | 59 | |
| @@ -72,7 +75,7 @@ discard block | ||
| 72 | 75 | * @param string $class | 
| 73 | 76 | * @param mixed $id | 
| 74 | 77 | * | 
| 75 | - * @return object|null the object with id or null if not found | |
| 78 | + * @return \Sonata\AdminBundle\Tests\App\Model\Foo|null the object with id or null if not found | |
| 76 | 79 | */ | 
| 77 | 80 | public function find($class, $id); | 
| 78 | 81 | |
| @@ -80,6 +83,7 @@ discard block | ||
| 80 | 83 | * @param string $class | 
| 81 | 84 | * | 
| 82 | 85 | * @throws ModelManagerException | 
| 86 | + * @return void | |
| 83 | 87 | */ | 
| 84 | 88 | public function batchDelete($class, ProxyQueryInterface $queryProxy); | 
| 85 | 89 | |
| @@ -156,7 +160,7 @@ discard block | ||
| 156 | 160 | * | 
| 157 | 161 | * @param string $class | 
| 158 | 162 | * | 
| 159 | - * @return object | |
| 163 | + * @return \Sonata\AdminBundle\Tests\App\Model\Foo | |
| 160 | 164 | */ | 
| 161 | 165 | public function getModelInstance($class); | 
| 162 | 166 | |
| @@ -172,6 +176,7 @@ discard block | ||
| 172 | 176 | * | 
| 173 | 177 | * @param array $collection | 
| 174 | 178 | * @param object $element | 
| 179 | + * @return void | |
| 175 | 180 | */ | 
| 176 | 181 | public function collectionRemoveElement(&$collection, &$element); | 
| 177 | 182 | |
| @@ -180,6 +185,7 @@ discard block | ||
| 180 | 185 | * | 
| 181 | 186 | * @param array $collection | 
| 182 | 187 | * @param object $element | 
| 188 | + * @return void | |
| 183 | 189 | */ | 
| 184 | 190 | public function collectionAddElement(&$collection, &$element); | 
| 185 | 191 | |
| @@ -197,6 +203,7 @@ discard block | ||
| 197 | 203 | * Clear the collection. | 
| 198 | 204 | * | 
| 199 | 205 | * @param array $collection | 
| 206 | + * @return void | |
| 200 | 207 | */ | 
| 201 | 208 | public function collectionClear(&$collection); | 
| 202 | 209 | |
| @@ -229,6 +236,7 @@ discard block | ||
| 229 | 236 | |
| 230 | 237 | /** | 
| 231 | 238 | * @param mixed $query | 
| 239 | + * @return void | |
| 232 | 240 | */ | 
| 233 | 241 | public function executeQuery($query); | 
| 234 | 242 | |
| @@ -261,6 +269,7 @@ discard block | ||
| 261 | 269 | |
| 262 | 270 | /** | 
| 263 | 271 | * @param string $class | 
| 272 | + * @return void | |
| 264 | 273 | */ | 
| 265 | 274 | public function addIdentifiersToQuery($class, ProxyQueryInterface $query, array $idx); | 
| 266 | 275 | } |