File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 22
22
"symfony/property-access" : " ^2.7 || ^3.0" ,
23
23
"symfony/property-info" : " ^3.1" ,
24
24
"symfony/serializer" : " ^3.1" ,
25
- "willdurand/negotiation" : " ^2.3.1 "
25
+ "willdurand/negotiation" : " ^2.0.3 "
26
26
},
27
27
"require-dev" : {
28
28
"behat/behat" : " ^3.1" ,
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ interface CollectionDataProviderInterface
30
30
*
31
31
* @throws ResourceClassNotSupportedException
32
32
*
33
- * @return array|PaginatorInterface| \Traversable
33
+ * @return array|\Traversable
34
34
*/
35
35
public function getCollection (string $ resourceClass , string $ operationName = null );
36
36
}
Original file line number Diff line number Diff line change 15
15
16
16
use ApiPlatform \Core \DataProvider \CollectionDataProviderInterface ;
17
17
use ApiPlatform \Core \DataProvider \ItemDataProviderInterface ;
18
- use ApiPlatform \Core \DataProvider \PaginatorInterface ;
19
18
use ApiPlatform \Core \DataProvider \SubresourceDataProviderInterface ;
20
19
use ApiPlatform \Core \Exception \RuntimeException ;
21
20
use ApiPlatform \Core \Util \RequestAttributesExtractor ;
@@ -77,7 +76,7 @@ public function onKernelRequest(GetResponseEvent $event)
77
76
* @param Request $request
78
77
* @param array $attributes
79
78
*
80
- * @return array|\Traversable|PaginatorInterface| null
79
+ * @return array|\Traversable|null
81
80
*/
82
81
private function getCollectionData (Request $ request , array $ attributes )
83
82
{
You can’t perform that action at this time.
0 commit comments