mirror of
https://github.com/owncloud/ocis
synced 2026-04-25 17:25:21 +02:00
test: adjust PHP code to support v8.4
The implicite nullable type has been deprecated. This fixes it by explicitely typing every nullable type. PHP is also bumped in composer and drone to v8.4.
This commit is contained in:
@@ -350,14 +350,14 @@ class SettingsContext implements Context {
|
||||
|
||||
/**
|
||||
* @param string $user
|
||||
* @param array $headers
|
||||
* @param array|null $headers
|
||||
*
|
||||
* @return ResponseInterface
|
||||
*
|
||||
* @throws GuzzleException
|
||||
* @throws Exception
|
||||
*/
|
||||
public function sendRequestGetSettingsValuesList(string $user, array $headers = null): ResponseInterface {
|
||||
public function sendRequestGetSettingsValuesList(string $user, ?array $headers = null): ResponseInterface {
|
||||
return SettingsHelper::getValuesList(
|
||||
$this->featureContext->getBaseUrl(),
|
||||
$user,
|
||||
|
||||
Reference in New Issue
Block a user