Skip to content

Commit

Permalink
Xanadu: Add strict types to remaining php files
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtakashi committed Dec 12, 2023
1 parent 83f6def commit c6680ba
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xanadu/patterns/404.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* Slug: xanadu/404
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:heading {"textAlign":"center","level":1,"fontSize":"x-large"} -->
Expand Down
2 changes: 2 additions & 0 deletions xanadu/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 );
?>

<!-- wp:spacer {"height":"50px"} -->
Expand Down
2 changes: 2 additions & 0 deletions xanadu/patterns/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* Categories: header
* Block Types: core/template-part/header
*/

declare( strict_types = 1 );
?>

<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|30","right":"var:preset|spacing|30","bottom":"var:preset|spacing|30","left":"var:preset|spacing|30"},"blockGap":"0","margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"default"}} -->
Expand Down
2 changes: 2 additions & 0 deletions xanadu/patterns/no-results.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* Slug: xanadu/no-results
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:paragraph {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
Expand Down

0 comments on commit c6680ba

Please sign in to comment.