Skip to content

Commit 649f1f9

Browse files
author
Camille Islasse
committed
Endpoint url can be null
1 parent 1c53f1c commit 649f1f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Api/Api.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ private function getConfigResolver(): OptionsResolver
259259
->setAllowedTypes('certificate', 'string')
260260
->setAllowedValues('ctx_mode', $this->getModes())
261261
->setAllowedTypes('directory', 'string')
262-
->setAllowedTypes('endpoint_url', 'string')
262+
->setAllowedTypes('endpoint_url', ['null', 'string'])
263263
->setAllowedValues('endpoint', $this->getEndPoints())
264264
->setAllowedValues('hash_mode', $this->getHashModes())
265265
->setAllowedTypes('debug', 'bool')

0 commit comments

Comments
 (0)