@@ -36,6 +36,7 @@ discard block |
||
| 36 | 36 | * @param object $object |
| 37 | 37 | * |
| 38 | 38 | * @throws ModelManagerException |
| 39 | + * @return void |
|
| 39 | 40 | */ |
| 40 | 41 | public function create($object); |
| 41 | 42 | |
@@ -43,6 +44,7 @@ discard block |
||
| 43 | 44 | * @param object $object |
| 44 | 45 | * |
| 45 | 46 | * @throws ModelManagerException |
| 47 | + * @return void |
|
| 46 | 48 | */ |
| 47 | 49 | public function update($object); |
| 48 | 50 | |
@@ -50,6 +52,7 @@ discard block |
||
| 50 | 52 | * @param object $object |
| 51 | 53 | * |
| 52 | 54 | * @throws ModelManagerException |
| 55 | + * @return void |
|
| 53 | 56 | */ |
| 54 | 57 | public function delete($object); |
| 55 | 58 | |
@@ -71,7 +74,7 @@ discard block |
||
| 71 | 74 | * @param string $class |
| 72 | 75 | * @param mixed $id |
| 73 | 76 | * |
| 74 | - * @return object|null the object with id or null if not found |
|
| 77 | + * @return \Sonata\AdminBundle\Tests\App\Model\Foo|null the object with id or null if not found |
|
| 75 | 78 | */ |
| 76 | 79 | public function find($class, $id); |
| 77 | 80 | |
@@ -79,6 +82,7 @@ discard block |
||
| 79 | 82 | * @param string $class |
| 80 | 83 | * |
| 81 | 84 | * @throws ModelManagerException |
| 85 | + * @return void |
|
| 82 | 86 | */ |
| 83 | 87 | public function batchDelete($class, ProxyQueryInterface $queryProxy); |
| 84 | 88 | |
@@ -180,6 +184,7 @@ discard block |
||
| 180 | 184 | * |
| 181 | 185 | * @param array $collection |
| 182 | 186 | * @param object $element |
| 187 | + * @return void |
|
| 183 | 188 | */ |
| 184 | 189 | public function collectionRemoveElement(&$collection, &$element); |
| 185 | 190 | |
@@ -188,6 +193,7 @@ discard block |
||
| 188 | 193 | * |
| 189 | 194 | * @param array $collection |
| 190 | 195 | * @param object $element |
| 196 | + * @return void |
|
| 191 | 197 | */ |
| 192 | 198 | public function collectionAddElement(&$collection, &$element); |
| 193 | 199 | |
@@ -205,6 +211,7 @@ discard block |
||
| 205 | 211 | * Clear the collection. |
| 206 | 212 | * |
| 207 | 213 | * @param array $collection |
| 214 | + * @return void |
|
| 208 | 215 | */ |
| 209 | 216 | public function collectionClear(&$collection); |
| 210 | 217 | |
@@ -235,6 +242,7 @@ discard block |
||
| 235 | 242 | |
| 236 | 243 | /** |
| 237 | 244 | * @param mixed $query |
| 245 | + * @return void |
|
| 238 | 246 | */ |
| 239 | 247 | public function executeQuery($query); |
| 240 | 248 | |
@@ -272,6 +280,7 @@ discard block |
||
| 272 | 280 | |
| 273 | 281 | /** |
| 274 | 282 | * @param string $class |
| 283 | + * @return void |
|
| 275 | 284 | */ |
| 276 | 285 | public function addIdentifiersToQuery($class, ProxyQueryInterface $query, array $idx); |
| 277 | 286 | } |