rebase from live enviornment

This commit is contained in:
Rachit Bhargava
2024-01-09 22:14:20 -05:00
parent ff0b49a046
commit 3a22fcaa4a
15968 changed files with 2344674 additions and 45234 deletions

View File

@@ -0,0 +1,29 @@
<?php
namespace Yoast\WP\SEO\Introductions\Domain;
use InvalidArgumentException;
use Throwable;
/**
* Invalid user ID.
*/
class Invalid_User_Id_Exception extends InvalidArgumentException {
/**
* Constructs the exception.
*
* @link https://php.net/manual/en/exception.construct.php
*
* @param string $message [optional] The Exception message to throw.
* @param int $code [optional] The Exception code.
* @param null|Throwable $previous [optional] The previous throwable used for the exception chaining.
*/
public function __construct( // phpcs:ignore Generic.CodeAnalysis.UselessOverridingMethod.Found -- Reason: A default message is used.
$message = 'Invalid User ID',
$code = 0,
$previous = null
) {
parent::__construct( $message, $code, $previous );
}
}