Completed
Push — master ( 5a42ac...938943 )
by Jordi Sala
03:00 queued 12s
created
src/Model/ModelManagerInterface.php 1 patch
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,6 +36,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
@@ -90,6 +94,7 @@  discard block
 block discarded – undo
90 94
      *
91 95
      * @param array  $parentAssociationMapping
92 96
      * @param string $class
97
+     * @return FieldDescriptionInterface
93 98
      */
94 99
     public function getParentFieldDescription($parentAssociationMapping, $class);
95 100
 
@@ -180,6 +185,7 @@  discard block
 block discarded – undo
180 185
      *
181 186
      * @param array  $collection
182 187
      * @param object $element
188
+     * @return void
183 189
      */
184 190
     public function collectionRemoveElement(&$collection, &$element);
185 191
 
@@ -188,6 +194,7 @@  discard block
 block discarded – undo
188 194
      *
189 195
      * @param array  $collection
190 196
      * @param object $element
197
+     * @return void
191 198
      */
192 199
     public function collectionAddElement(&$collection, &$element);
193 200
 
@@ -205,6 +212,7 @@  discard block
 block discarded – undo
205 212
      * Clear the collection.
206 213
      *
207 214
      * @param array $collection
215
+     * @return void
208 216
      */
209 217
     public function collectionClear(&$collection);
210 218
 
@@ -235,6 +243,7 @@  discard block
 block discarded – undo
235 243
 
236 244
     /**
237 245
      * @param mixed $query
246
+     * @return void
238 247
      */
239 248
     public function executeQuery($query);
240 249
 
@@ -272,6 +281,7 @@  discard block
 block discarded – undo
272 281
 
273 282
     /**
274 283
      * @param string $class
284
+     * @return void
275 285
      */
276 286
     public function addIdentifiersToQuery($class, ProxyQueryInterface $query, array $idx);
277 287
 }
Please login to merge, or discard this patch.