Skip to content

Commit

Permalink
coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Mar 26, 2016
1 parent 648e034 commit 48cd76c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
8 changes: 4 additions & 4 deletions includes/class-kirki-enqueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,19 @@ public function customize_controls_enqueue_scripts() {
'variants' => array(
array(
'id' => 'regular',
'label' => $all_variants['regular']
'label' => $all_variants['regular'],
),
array(
'id' => 'italic',
'label' => $all_variants['italic']
'label' => $all_variants['italic'],
),
array(
'id' => '700',
'label' => $all_variants['700']
'label' => $all_variants['700'],
),
array(
'id' => '700italic',
'label' => $all_variants['700italic']
'label' => $all_variants['700italic'],
),
),
);
Expand Down
2 changes: 1 addition & 1 deletion includes/class-kirki-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Kirki_Helper {
* @param $array array
* @param $array1 array
*
* @return array
* @return mixed
*/
public static function array_replace_recursive( $array, $array1 ) {
if ( function_exists( 'array_replace_recursive' ) ) {
Expand Down
8 changes: 5 additions & 3 deletions includes/styles/class-kirki-styles-customizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
}

if ( ! class_exists( 'Kirki_Styles_Customizer' ) ) {

class Kirki_Styles_Customizer {

public $color_back = false;
Expand Down Expand Up @@ -53,9 +54,10 @@ public function customizer_styles() {
*
* These files are only enqueued when debugging Kirki
*
* @param string $handle
* @param string|null $file
* @param array $deps
* @param $handle string
* @param $file string|null
* @param $deps array
* @param $in_footer bool
*/
public static function enqueue_customizer_control_script( $handle, $file = null, $deps = array(), $in_footer = false ) {
if ( ( false !== strpos( $file, 'controls/' ) && Kirki_Toolkit::is_debug() ) || false === strpos( $file, 'controls/' ) ) {
Expand Down

0 comments on commit 48cd76c

Please sign in to comment.