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

Commit 728eefa

Browse files
committed
Travis pass fix.
Signed-off-by: Kevin Provance <[email protected]>
1 parent 1f5e503 commit 728eefa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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( bool $register, string $handle,string $src_cdn,array $deps,string $ver,?string $footer_or_media,bool $is_script ) {
96+
private static function cdn( bool $register, string $handle, string $src_cdn, array $deps, string $ver, $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( bool $register, string $handle,string $src_cdn,arra
167167
* @param mixed $footer_or_media True or 'all'.
168168
* @param bool $is_script Script or style.
169169
*/
170-
private static function vendor_plugin( bool $register, string $handle, string $src_cdn, array $deps, string $ver, ?string $footer_or_media, bool $is_script ) {
170+
private static function vendor_plugin( bool $register, string $handle, string $src_cdn, array $deps, string $ver, $footer_or_media, bool $is_script ) {
171171
if ( class_exists( 'Redux_VendorURL' ) ) {
172172
$src = Redux_VendorURL::get_url( $handle );
173173

redux-core/inc/classes/class-redux-wordpress-data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public function get( $type = false, $args = array(), $opt_name = '', $current_va
156156
*
157157
* @return array
158158
*/
159-
private function process_results( $results = array(), $id_key = '', $name_key = '', $add_key = true, $secondary_key = 'slug' ) {
159+
private function process_results( array $results = array(), $id_key = '', $name_key = '', bool $add_key = true, $secondary_key = 'slug' ): array {
160160
$data = array();
161161
if ( ! empty( $results ) && ! is_a( $results, 'WP_Error' ) ) {
162162
foreach ( $results as $k => $v ) {

0 commit comments

Comments
 (0)