Skip to content

Commit a409851

Browse files
committed
Merge branch '2.0'
2 parents c12c43d + d349c8a commit a409851

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"symfony/property-access": "^2.7 || ^3.0",
2323
"symfony/property-info": "^3.1",
2424
"symfony/serializer": "^3.1",
25-
"willdurand/negotiation": "^2.3.1"
25+
"willdurand/negotiation": "^2.0.3"
2626
},
2727
"require-dev": {
2828
"behat/behat": "^3.1",

src/DataProvider/CollectionDataProviderInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ interface CollectionDataProviderInterface
3030
*
3131
* @throws ResourceClassNotSupportedException
3232
*
33-
* @return array|PaginatorInterface|\Traversable
33+
* @return array|\Traversable
3434
*/
3535
public function getCollection(string $resourceClass, string $operationName = null);
3636
}

src/EventListener/ReadListener.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
use ApiPlatform\Core\DataProvider\CollectionDataProviderInterface;
1717
use ApiPlatform\Core\DataProvider\ItemDataProviderInterface;
18-
use ApiPlatform\Core\DataProvider\PaginatorInterface;
1918
use ApiPlatform\Core\DataProvider\SubresourceDataProviderInterface;
2019
use ApiPlatform\Core\Exception\RuntimeException;
2120
use ApiPlatform\Core\Util\RequestAttributesExtractor;
@@ -77,7 +76,7 @@ public function onKernelRequest(GetResponseEvent $event)
7776
* @param Request $request
7877
* @param array $attributes
7978
*
80-
* @return array|\Traversable|PaginatorInterface|null
79+
* @return array|\Traversable|null
8180
*/
8281
private function getCollectionData(Request $request, array $attributes)
8382
{

0 commit comments

Comments
 (0)