The expression return $this->get('league/' . $leagueId) returns the type SchoppAx\Sleeper\Api\json which is incompatible with the type-hinted return array.
The expression return $this->get('user/...$sport . '/' . $season) returns the type SchoppAx\Sleeper\Api\json which is incompatible with the type-hinted return array.
The expression return $this->get('leagu.... '/matchups/' . $week) returns the type SchoppAx\Sleeper\Api\json which is incompatible with the type-hinted return array.
Loading history...
40
}
41
42
/**
43
* @param string[optional] $sport default is nfl
44
* @return object
45
* @throws SleeperException
46
*/
47
public function state(string $sport = 'nfl'): array
The expression return $this->get('state/' . $sport) returns the type SchoppAx\Sleeper\Api\json which is incompatible with the type-hinted return array.
The expression return $this->get('leagu.... $leagueId . '/users') returns the type SchoppAx\Sleeper\Api\json which is incompatible with the type-hinted return array.
The expression return $this->get('leagu...$leagueId . '/rosters') returns the type SchoppAx\Sleeper\Api\json which is incompatible with the type-hinted return array.