Skip to content

Commit

Permalink
Ici: Add strict types to remaining php files (#7548)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtakashi authored Dec 13, 2023
1 parent 1f19abf commit 9dc09dc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ici/patterns/404.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* Slug: ici/404
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:heading {"level":1,"fontSize":"x-small"} -->
Expand Down
2 changes: 2 additions & 0 deletions ici/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 ici/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|50"}}},"layout":{"type":"constrained","contentSize":""}} -->
Expand Down
3 changes: 3 additions & 0 deletions ici/patterns/no-results.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
* Slug: ici/no-results
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:paragraph -->
<p><?php echo esc_html_x( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'Message explaining that there are no results returned from a search', 'ici' ); ?></p>
<!-- /wp:paragraph -->

0 comments on commit 9dc09dc

Please sign in to comment.