Skip to content

Commit

Permalink
Remove type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
dmsnell committed Dec 12, 2023
1 parent fc7322c commit d92c4f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/wp-includes/class-wp-block-parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function __construct( $post ) {
trait WP_Parsed_Block__ArrayAccess {
public $parsed_attrs = null;

public function offsetGet( mixed $offset ): mixed {
public function offsetGet( $offset ) {
switch ( $offset ) {
case 'blockName':
$name_end = strpos( $this->post->seen_block_types, "\x00", $this->name_at );
Expand Down Expand Up @@ -107,7 +107,7 @@ public function offsetGet( mixed $offset ): mixed {
}
}

public function offsetExists( mixed $offset ): bool {
public function offsetExists( $offset ) {
// TODO: Implement offsetExists() method.
return (
$offset === 'blockName' ||
Expand All @@ -118,11 +118,11 @@ public function offsetExists( mixed $offset ): bool {
);
}

public function offsetSet( mixed $offset, mixed $value ): void {
public function offsetSet( $offset, $value ) {
// TODO: Implement offsetSet() method.
}

public function offsetUnset( mixed $offset ): void {
public function offsetUnset( $offset ) {
// TODO: Implement offsetUnset() method.
}
}
Expand Down

0 comments on commit d92c4f6

Please sign in to comment.