mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-11-13 11:22:53 +09:00
Update composer dependencies
This commit is contained in:
@@ -98,7 +98,7 @@ abstract class AbstractApi implements ApiInterface
|
||||
if (null !== $this->perPage && !isset($parameters['per_page'])) {
|
||||
$parameters['per_page'] = $this->perPage;
|
||||
}
|
||||
if (array_key_exists('ref', $parameters) && is_null($parameters['ref'])) {
|
||||
if (array_key_exists('ref', $parameters) && null === $parameters['ref']) {
|
||||
unset($parameters['ref']);
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ abstract class AbstractApi implements ApiInterface
|
||||
*/
|
||||
protected function head($path, array $parameters = [], array $requestHeaders = [])
|
||||
{
|
||||
if (array_key_exists('ref', $parameters) && is_null($parameters['ref'])) {
|
||||
if (array_key_exists('ref', $parameters) && null === $parameters['ref']) {
|
||||
unset($parameters['ref']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user