@@ -45,7 +45,7 @@ |
||
| 45 | 45 | * will handle this. |
| 46 | 46 | * |
| 47 | 47 | * @param [string] $v |
| 48 | - * @return void |
|
| 48 | + * @return double |
|
| 49 | 49 | */ |
| 50 | 50 | public function filter($v) |
| 51 | 51 | { |
@@ -8,8 +8,8 @@ |
||
| 8 | 8 | class Component_slider |
| 9 | 9 | extends AbstractComponent |
| 10 | 10 | implements ValueComponentInterface, |
| 11 | - DisableableComponentInterface, |
|
| 12 | - FilterableComponentInterface |
|
| 11 | + DisableableComponentInterface, |
|
| 12 | + FilterableComponentInterface |
|
| 13 | 13 | { |
| 14 | 14 | public $component_type = 'slider'; |
| 15 | 15 | |
@@ -25,13 +25,13 @@ |
||
| 25 | 25 | 'min' => null, |
| 26 | 26 | 'max' => null, |
| 27 | 27 | 'step' => 1, |
| 28 | - 'filter' => array( $this, 'filter' ) |
|
| 28 | + 'filter' => array($this, 'filter') |
|
| 29 | 29 | ); |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | public function required_arguments() |
| 33 | 33 | { |
| 34 | - return array('name','min','max'); |
|
| 34 | + return array('name', 'min', 'max'); |
|
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | public function get_template_path() |