Assembler: Fix php warnings (#7529)

This commit is contained in:
Ashar Fuadi 2023-12-07 05:25:41 +07:00 committed by GitHub
parent 591e5c1bbd
commit a906e6e3a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 0 deletions

View file

@ -8,6 +8,7 @@
* @since Assembler 1.0
*/
declare( strict_types = 1 );
if ( ! function_exists( 'assembler_support' ) ) :

View file

@ -4,6 +4,8 @@
* Slug: assembler/byline-date
* Inserter: no
*/
declare( strict_types = 1 );
?>
<!-- wp:group {"style":{"spacing":{"blockGap":"0.26rem","padding":{"bottom":"20px"}},"typography":{"fontSize":"x-small"}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"center","justifyContent":"center"}} -->
<div class="wp-block-group" style="padding-bottom:20px;font-size:x-small"><!-- wp:paragraph {"fontSize":"x-small"} -->

View file

@ -5,6 +5,8 @@
* Categories: footer
* Block Types: core/template-part/footer
*/
declare( strict_types = 1 );
?>

View file

@ -5,6 +5,8 @@
* Categories: featured, header
* Block Types: core/template-part/header
*/
declare( strict_types = 1 );
?>

View file

@ -5,6 +5,8 @@
* Categories: post meta
* Block Types: core/post-date, core/post-terms
*/
declare( strict_types = 1 );
?>