@@ -27,39 +27,39 @@ class WP_Ability {
2727 * @since 0.1.0
2828 * @var string
2929 */
30- protected string $ name ;
30+ protected $ name ;
3131
3232 /**
3333 * The human-readable ability label.
3434 *
3535 * @since 0.1.0
3636 * @var string
3737 */
38- protected string $ label ;
38+ protected $ label ;
3939
4040 /**
4141 * The detailed ability description.
4242 *
4343 * @since 0.1.0
4444 * @var string
4545 */
46- protected string $ description ;
46+ protected $ description ;
4747
4848 /**
4949 * The optional ability input schema.
5050 *
5151 * @since 0.1.0
5252 * @var array
5353 */
54- protected array $ input_schema = array ();
54+ protected $ input_schema = array ();
5555
5656 /**
5757 * The optional ability output schema.
5858 *
5959 * @since 0.1.0
6060 * @var array
6161 */
62- protected array $ output_schema = array ();
62+ protected $ output_schema = array ();
6363
6464 /**
6565 * The ability execute callback.
@@ -83,7 +83,7 @@ class WP_Ability {
8383 * @since 0.1.0
8484 * @var array
8585 */
86- protected array $ meta = array ();
86+ protected $ meta = array ();
8787
8888 /**
8989 * Constructor.
@@ -197,7 +197,7 @@ protected function validate_input( array $input = array() ): bool {
197197 __ ( 'Invalid input provided for ability "%1$s": %2$s. ' ),
198198 $ this ->name ,
199199 $ valid_input ->get_error_message ()
200- ),
200+ )
201201 ),
202202 '0.1.0 '
203203 );
@@ -243,7 +243,7 @@ protected function do_execute( array $input ) {
243243 __METHOD__ ,
244244 esc_html (
245245 /* translators: %s ability name. */
246- sprintf ( __ ( 'Ability "%s" does not have a valid execute callback. ' ), $ this ->name ),
246+ sprintf ( __ ( 'Ability "%s" does not have a valid execute callback. ' ), $ this ->name )
247247 ),
248248 '0.1.0 '
249249 );
@@ -276,7 +276,7 @@ protected function validate_output( $output ): bool {
276276 __ ( 'Invalid output provided for ability "%1$s": %2$s. ' ),
277277 $ this ->name ,
278278 $ valid_output ->get_error_message ()
279- ),
279+ )
280280 ),
281281 '0.1.0 '
282282 );
0 commit comments