Skip to content

Commit

Permalink
Merge pull request #320 from WordPress/add/missing-since
Browse files Browse the repository at this point in the history
Add missing `@since` annotation
  • Loading branch information
felixarntz authored Nov 7, 2023
2 parents b7cac5d + 5936b33 commit 784e18d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions includes/Checker/Checks/Enqueued_Scripts_Size_Check.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ protected function check_url( Check_Result $result, $url ) {
/**
* Returns an array of viewable post types.
*
* @since n.e.x.t
*
* @return array Array of viewable post type slugs.
*/
private function get_viewable_post_types() {
Expand Down
2 changes: 2 additions & 0 deletions includes/Checker/Checks/Enqueued_Styles_Scope_Check.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,8 @@ protected function check_url( Check_Result $result ) {
/**
* Returns an array of viewable post types.
*
* @since n.e.x.t
*
* @return array Array of viewable post type slugs.
*/
private function get_viewable_post_types() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ public function prepare() {
/**
* Filter active plugins.
*
* @since n.e.x.t
*
* @param array $active_plugins List of active plugins.
* @return array List of active plugins.
*/
Expand Down
1 change: 0 additions & 1 deletion includes/Plugin_Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class Plugin_Main {
* Context instance for the plugin.
*
* @since n.e.x.t
*
* @var Plugin_Context
*/
protected $context;
Expand Down
2 changes: 2 additions & 0 deletions includes/Utilities/Plugin_Request_Utility.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ class Plugin_Request_Utility {
/**
* Returns the plugin basename based on the input provided.
*
* @since n.e.x.t
*
* @param string $plugin_slug The plugin slug or basename.
* @return string The plugin basename.
*
Expand Down

0 comments on commit 784e18d

Please sign in to comment.