Skip to content

Commit

Permalink
chore: Fix phpcs erros
Browse files Browse the repository at this point in the history
  • Loading branch information
ravorona committed Apr 3, 2024
1 parent f96584a commit 50c72dd
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 3 deletions.
1 change: 1 addition & 0 deletions app/Providers/ThemeServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Copyright (c) 2024 яαvoroηα
*
Expand Down
1 change: 1 addition & 0 deletions app/View/Composers/App.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Copyright (c) 2024 яαvoroηα
*
Expand Down
15 changes: 13 additions & 2 deletions app/View/Composers/Comments.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Copyright (c) 2024 яαvoroηα
*
Expand Down Expand Up @@ -61,8 +62,18 @@ public function title()
{
return sprintf(
/* translators: %1$s is replaced with the number of comments and %2$s with the post title */
_nx('%1$s response to &ldquo;%2$s&rdquo;', '%1$s responses to &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'sage'),
get_comments_number() === 1 ? _x('One', 'comments title', 'sage') : number_format_i18n(get_comments_number()),
_nx(
'%1$s response to &ldquo;%2$s&rdquo;',
'%1$s responses to &ldquo;%2$s&rdquo;',
get_comments_number(),
'comments title',
'sage'
),
get_comments_number() === 1 ? _x(
'One',
'comments title',
'sage'
) : number_format_i18n(get_comments_number()),
get_the_title()
);
}
Expand Down
3 changes: 2 additions & 1 deletion app/View/Composers/Post.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Copyright (c) 2024 яαvoroηα
*
Expand Down Expand Up @@ -97,7 +98,7 @@ public function pagination()
{
return wp_link_pages([
'echo' => 0,
'before' => '<p>'.__('Pages:', 'sage'),
'before' => '<p>' . __('Pages:', 'sage'),
'after' => '</p>',
]);
}
Expand Down
1 change: 1 addition & 0 deletions app/filters.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Copyright (c) 2024 яαvoroηα
*
Expand Down
1 change: 1 addition & 0 deletions app/setup.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Copyright (c) 2024 яαvoroηα
*
Expand Down

0 comments on commit 50c72dd

Please sign in to comment.