Code Duplication    Length = 21-25 lines in 2 locations

src/POData/Providers/ProvidersWrapper.php 2 locations

@@ 639-659 (lines=21) @@
636
     *
637
     * @return QueryResult
638
     */
639
    public function getResourceSet(
640
        QueryType $queryType,
641
        ResourceSet $resourceSet,
642
        FilterInfo $filterInfo = null,
643
        InternalOrderByInfo $orderBy = null,
644
        $top = null,
645
        $skip = null,
646
        SkipTokenInfo $skipToken = null,
647
        array $eagerLoad = null
648
    ) {
649
        return $this->getProviderWrapper()->getResourceSet(
650
            $queryType,
651
            $resourceSet,
652
            $filterInfo,
653
            $orderBy,
654
            $top,
655
            $skip,
656
            $skipToken,
657
            $eagerLoad
658
        );
659
    }
660
661
    /**
662
     * Gets an entity instance from an entity set identified by a key.
@@ 719-743 (lines=25) @@
716
     *
717
     * @return QueryResult
718
     */
719
    public function getRelatedResourceSet(
720
        QueryType $queryType,
721
        ResourceSet $sourceResourceSet,
722
        $sourceEntity,
723
        ResourceSet $targetResourceSet,
724
        ResourceProperty $targetProperty,
725
        FilterInfo $filterInfo = null,
726
        $orderBy = null,
727
        $top = null,
728
        $skip = null,
729
        SkipTokenInfo $skipToken = null
730
    ) {
731
        return $this->getProviderWrapper()->getRelatedResourceSet(
732
            $queryType,
733
            $sourceResourceSet,
734
            $sourceEntity,
735
            $targetResourceSet,
736
            $targetProperty,
737
            $filterInfo,
738
            $orderBy,
739
            $top,
740
            $skip,
741
            $skipToken
742
        );
743
    }
744
745
    /**
746
     * Gets a related entity instance from an entity set identified by a key.