@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | 'page' => '', |
46 | 46 | 'class' => 'frm-mt-0', |
47 | 47 | ); |
48 | - $tip = array_merge( $defaults, $tip ); |
|
48 | + $tip = array_merge( $defaults, $tip ); |
|
49 | 49 | |
50 | 50 | if ( isset( $tip['link'] ) && ! isset( $tip['link']['medium'] ) ) { |
51 | 51 | $tip['link']['medium'] = 'tip'; |
@@ -367,7 +367,7 @@ discard block |
||
367 | 367 | public static function get_random_tip( $tips ) { |
368 | 368 | $random = rand( 0, count( $tips ) - 1 ); |
369 | 369 | |
370 | - return $tips[ $random ]; |
|
370 | + return $tips[$random]; |
|
371 | 371 | } |
372 | 372 | |
373 | 373 | /** |