Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

Commit 9a2a3bd

Browse files
authored
Fixed #212
1 parent e57145b commit 9a2a3bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redux-core/inc/classes/class-redux-cdn.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ private static function enqueue( $handle, $src_cdn, $deps, $ver, $footer_or_medi
9393
* @param mixed $footer_or_media True or 'all'.
9494
* @param bool $is_script Script or style.
9595
*/
96-
private static function cdn( $register, $handle, $src_cdn, $deps, $ver, $footer_or_media, $is_script ) {
96+
private static function cdn( bool $register, string $handle,string $src_cdn,array $deps,string $ver,?string $footer_or_media,bool $is_script ) {
9797
$tran_key = '_style_cdn_is_up';
9898
if ( $is_script ) {
9999
$tran_key = '_script_cdn_is_up';
@@ -167,7 +167,7 @@ private static function cdn( $register, $handle, $src_cdn, $deps, $ver, $footer_
167167
* @param mixed $footer_or_media True or 'all'.
168168
* @param bool $is_script Script or style.
169169
*/
170-
private static function vendor_plugin( $register, $handle, $src_cdn, $deps, $ver, $footer_or_media, $is_script ) {
170+
private static function vendor_plugin( bool $register, string $handle, string $src_cdn, array $deps, string $ver, ?string $footer_or_media, bool $is_script ) {
171171
if ( class_exists( 'Redux_VendorURL' ) ) {
172172
$src = Redux_VendorURL::get_url( $handle );
173173

0 commit comments

Comments
 (0)