update samples

This commit is contained in:
William Cheng 2023-12-05 15:36:33 +08:00
parent 889c6fe7a1
commit 391df3b81c
23 changed files with 69 additions and 69 deletions

View File

@ -209,7 +209,7 @@ class Configuration
/**
* Sets boolean format for query string.
*
* @param string $booleanFormatForQueryString Boolean format for query string
* @param string $booleanFormat Boolean format for query string
*
* @return $this
*/
@ -523,7 +523,7 @@ class Configuration
* @param array|null $variables hash of variable and the corresponding value (optional)
* @return string URL based on host settings
*/
public static function getHostString(array $hostsSettings, $hostIndex, array $variables = null)
public static function getHostString(array $hostSettings, $hostIndex, array $variables = null)
{
if (null === $variables) {
$variables = [];

View File

@ -209,7 +209,7 @@ class Configuration
/**
* Sets boolean format for query string.
*
* @param string $booleanFormatForQueryString Boolean format for query string
* @param string $booleanFormat Boolean format for query string
*
* @return $this
*/
@ -523,7 +523,7 @@ class Configuration
* @param array|null $variables hash of variable and the corresponding value (optional)
* @return string URL based on host settings
*/
public static function getHostString(array $hostsSettings, $hostIndex, array $variables = null)
public static function getHostString(array $hostSettings, $hostIndex, array $variables = null)
{
if (null === $variables) {
$variables = [];