Update to laravel 7

This commit is contained in:
KodeStar
2022-03-10 11:54:29 +00:00
parent 61a5a1a8b0
commit f9a19fce91
7170 changed files with 274189 additions and 283773 deletions

View File

@@ -18,18 +18,6 @@ class RateLimit extends AbstractApi
*/
protected $resources = [];
/**
* Get rate limits data in an array.
*
* @deprecated since 2.11.0 Use `->getResources()` instead
*
* @return array
*/
public function getRateLimits()
{
return $this->fetchLimits();
}
/**
* Gets the rate limit resource objects.
*
@@ -79,28 +67,4 @@ class RateLimit extends AbstractApi
return $result;
}
/**
* Get core rate limit.
*
* @deprecated since 2.11.0 Use `->getResource('core')->getLimit()` instead
*
* @return int
*/
public function getCoreLimit()
{
return $this->getResource('core')->getLimit();
}
/**
* Get search rate limit.
*
* @deprecated since 2.11.0 Use `->getResource('core')->getLimit()` instead
*
* @return int
*/
public function getSearchLimit()
{
return $this->getResource('search')->getLimit();
}
}