Created
February 5, 2024 18:36
-
-
Save westonruter/ead39b62ca9fd8502c9f18a659a4fcf1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/wp-includes/class-wp-block-type.php b/src/wp-includes/class-wp-block-type.php | |
index 33825a7888..d31aaf0b69 100644 | |
--- a/src/wp-includes/class-wp-block-type.php | |
+++ b/src/wp-includes/class-wp-block-type.php | |
@@ -11,6 +11,7 @@ | |
* Core class representing a block type. | |
* | |
* @since 5.0.0 | |
+ * @property array[] $variations Block variations. | |
* | |
* @see register_block_type() | |
*/ | |
@@ -350,7 +351,7 @@ class WP_Block_Type { | |
* | |
* @param string $name Deprecated property name. | |
* | |
- * @return string|string[]|null|void The value read from the new property if the first item in the array provided, | |
+ * @return string|string[]|array[]|null|void The value read from the new property if the first item in the array provided, | |
* null when value not found, or void when unknown property name provided. | |
*/ | |
public function __get( $name ) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment