| @@ -7,8 +7,10 @@ | ||
| 7 | 7 | * @author Tobias Bäthge |
| 8 | 8 | * @since 1.0.0 |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | +declare(strict_types=1); | |
| 12 | + | |
| 11 | 13 | /** |
| 12 | 14 | * Provides template tag functionality for the "table" Shortcode, to be used anywhere in the template, returns the table HTML. |
| 13 | 15 | * |
| 14 | 16 | * @since 1.0.0 |
| @@ -21,9 +23,9 @@ | ||
| 21 | 23 | $atts = $table_query; |
| 22 | 24 | } else { |
| 23 | 25 | parse_str( (string) $table_query, $atts ); |
| 24 | 26 | } |
| 25 | - return TablePress::$controller->shortcode_table( $atts ); // @phpstan-ignore-line | |
| 27 | + return TablePress::$controller->shortcode_table( $atts ); // @phpstan-ignore argument.type | |
| 26 | 28 | } |
| 27 | 29 | |
| 28 | 30 | /** |
| 29 | 31 | * Provides template tag functionality for the "table" Shortcode, to be used anywhere in the template, echoes the table HTML. |
| @@ -51,9 +53,9 @@ | ||
| 51 | 53 | $atts = $table_query; |
| 52 | 54 | } else { |
| 53 | 55 | parse_str( (string) $table_query, $atts ); |
| 54 | 56 | } |
| 55 | - return TablePress::$controller->shortcode_table_info( $atts ); // @phpstan-ignore-line | |
| 57 | + return TablePress::$controller->shortcode_table_info( $atts ); // @phpstan-ignore argument.type | |
| 56 | 58 | } |
| 57 | 59 | |
| 58 | 60 | /** |
| 59 | 61 | * Provides template tag functionality for the "table-info" Shortcode, to be used anywhere in the template, echoes the info. |