@@ -44,10 +44,10 @@ discard block |
||
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
47 | - * Refresh the parameters passed to the JavaScript via JSON. |
|
47 | + * Refresh the parameters passed to the JavaScript via JSON. |
|
48 | 48 | * |
49 | - * @return array Array of parameters passed to the JavaScript. |
|
50 | - */ |
|
49 | + * @return array Array of parameters passed to the JavaScript. |
|
50 | + */ |
|
51 | 51 | public function json() { |
52 | 52 | $json = parent::json(); |
53 | 53 | $value = $this->value(); |
@@ -63,8 +63,8 @@ discard block |
||
63 | 63 | $json['variants'] = array_filter($fonts[$key]['variants'], function($variant) { |
64 | 64 | return strpos($variant, 'italic') === false; |
65 | 65 | }); |
66 | - return $json; |
|
67 | - } |
|
66 | + return $json; |
|
67 | + } |
|
68 | 68 | |
69 | 69 | /** |
70 | 70 | * Don't render the control content from PHP, as it's rendered via JS on load. |