Merged in feature/81-dev-dev01 (pull request #5)

auto-patch  81-dev-dev01-2023-12-05T22_45_26

* auto-patch  81-dev-dev01-2023-12-05T22_45_26
This commit is contained in:
Tony Volpe
2023-12-05 23:05:59 +00:00
parent ba16964e7a
commit 725d3043d5
1463 changed files with 142461 additions and 89421 deletions

View File

@@ -8,11 +8,11 @@ namespace Yoast\WP\SEO\Introductions\Domain;
class Introduction_Item {
/**
* The unique name.
* The ID.
*
* @var string
*/
private $name;
private $id;
/**
* The priority.
@@ -24,11 +24,11 @@ class Introduction_Item {
/**
* Constructs the instance.
*
* @param string $name The unique name.
* @param string $id The ID.
* @param int $priority The priority.
*/
public function __construct( $name, $priority ) {
$this->name = $name;
public function __construct( $id, $priority ) {
$this->id = $id;
$this->priority = $priority;
}
@@ -39,18 +39,18 @@ class Introduction_Item {
*/
public function to_array() {
return [
'name' => $this->get_name(),
'id' => $this->get_id(),
'priority' => $this->get_priority(),
];
}
/**
* Returns the unique name.
* Returns the ID.
*
* @return string
*/
public function get_name() {
return $this->name;
public function get_id() {
return $this->id;
}
/**