danieledangeli / betfair-php

Betfair php library
http://danieledangeli.github.io/betfair-php
47 stars 30 forks source link

Error DSC-0018 with getMarketCatalogueFilteredBy() #5

Closed simoheinonen closed 9 years ago

simoheinonen commented 9 years ago

MarketCatalogue::getMarketCatalogueFilteredBy() gives an error from BetFair:

DSC-0018 - MandatoryNotDefined

maxResults in $param remains null because of this condition:

if ($this->maxResults === null) {
    $param->setMaxResults(self::MAX_RESULT);
}