Skip to content

Commit

Permalink
fix type comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kangzj committed Oct 24, 2024
1 parent 70bc448 commit 22d46ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion projects/packages/stats-admin/src/class-odyssey-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ protected function get_cdn_asset_cache_buster() {
/**
* Get the cache buster option value.
*
* @param string $cache_buster The cache buster.
* @param string|int $cache_buster The cache buster.
* @return string|false
*/
protected function get_cache_buster_option_value( $cache_buster ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ public function test_get_cdn_asset_cache_buster_force_refresh_expired() {
/**
* Test remote cache buster.
*
* @param mixed $response The response array .
* @param mixed $parsed_args The parsed args .
* @param mixed $url The URL .
* @return array | void
* @param mixed $response The response array.
* @param mixed $parsed_args The parsed args.
* @param mixed $url The URL.
* @return WP_Error | void
*/
public function break_cdn_cache_buster_request( $response, $parsed_args, $url ) {
if ( strpos( $url, '/build_meta.json' ) !== false ) {
Expand Down

0 comments on commit 22d46ea

Please sign in to comment.