Skip to content

Commit

Permalink
Assembler: Fix php warnings (#7529)
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar committed Dec 6, 2023
1 parent 591e5c1 commit a906e6e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions assembler/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* @since Assembler 1.0
*/

declare( strict_types = 1 );

if ( ! function_exists( 'assembler_support' ) ) :

Expand Down
2 changes: 2 additions & 0 deletions assembler/patterns/byline-date.php
Original file line number Diff line number Diff line change
Expand Up @@ -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"} -->
Expand Down
2 changes: 2 additions & 0 deletions assembler/patterns/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* Categories: footer
* Block Types: core/template-part/footer
*/

declare( strict_types = 1 );
?>


Expand Down
2 changes: 2 additions & 0 deletions assembler/patterns/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* Categories: featured, header
* Block Types: core/template-part/header
*/

declare( strict_types = 1 );
?>


Expand Down
2 changes: 2 additions & 0 deletions assembler/patterns/post-meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* Categories: post meta
* Block Types: core/post-date, core/post-terms
*/

declare( strict_types = 1 );
?>


Expand Down

0 comments on commit a906e6e

Please sign in to comment.