This commit is contained in:
2021-09-09 17:03:29 +08:00
parent 46822da6d7
commit edf5fdb7fc
+6 -6
View File
@@ -253,30 +253,30 @@ class Response implements ResponseInterface
/** /**
* @param string $value * @param string|null $value
* @return ResponseInterface * @return ResponseInterface
*/ */
public function withAccessControlAllowOrigin(string $value): ResponseInterface public function withAccessControlAllowOrigin(?string $value): ResponseInterface
{ {
return $this->__call__()->{__FUNCTION__}($value); return $this->__call__()->{__FUNCTION__}($value);
} }
/** /**
* @param string $value * @param string|null $value
* @return ResponseInterface * @return ResponseInterface
*/ */
public function withAccessControlRequestMethod(string $value): ResponseInterface public function withAccessControlRequestMethod(?string $value): ResponseInterface
{ {
return $this->__call__()->{__FUNCTION__}($value); return $this->__call__()->{__FUNCTION__}($value);
} }
/** /**
* @param string $value * @param string|null $value
* @return ResponseInterface * @return ResponseInterface
*/ */
public function withAccessControlAllowHeaders(string $value): ResponseInterface public function withAccessControlAllowHeaders(?string $value): ResponseInterface
{ {
return $this->__call__()->{__FUNCTION__}($value); return $this->__call__()->{__FUNCTION__}($value);
} }