PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / trunk
Yoast SEO – Advanced SEO with real-time guidance and built-in AI vtrunk
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | src/ai/http-request/domain/exceptions/payment-required-exception.php +8 -7 27.9 → trunk View file →
@@ -21,17 +21,18 @@
21 21
22 22 /**
23 23 * Payment_Required_Exception constructor.
24 24 *
25 - * @param string $message The error message.
26 - * @param int $code The error status code.
27 - * @param string $error_identifier The error code identifier, used to identify a type of error.
28 - * @param Throwable| null $previous The previously thrown exception.
29 - * @param string[] $missing_licenses The missing plugin licenses.
25 + * @param string $message The error message.
26 + * @param int $code The error status code.
27 + * @param string $error_identifier The error code identifier, used to identify a type of error.
28 + * @param Throwable| null $previous The previously thrown exception.
29 + * @param string[] $missing_licenses The missing plugin licenses.
30 + * @param array<string, string|array<string>> $response_headers The response headers associated with the error.
30 31 */
31 - public function __construct( $message = '', $code = 0, $error_identifier = '', $previous = null, $missing_licenses = [] ) {
32 + public function __construct( $message = '', $code = 0, $error_identifier = '', $previous = null, $missing_licenses = [], array $response_headers = [] ) {
32 33 $this->missing_licenses = $missing_licenses;
33 - parent::__construct( $message, $code, $error_identifier, $previous );
34 + parent::__construct( $message, $code, $error_identifier, $previous, $response_headers );
34 35 }
35 36
36 37 /**
37 38 * Gets the missing plugin licences.