@@ -81,7 +81,7 @@ |
||
| 81 | 81 | ), |
| 82 | 82 | 'attributes' => [ |
| 83 | 83 | 'value' => '10', // default distance |
| 84 | - 'data-searchbox' => -1, // hide the search box |
|
| 84 | + 'data-searchbox' => -1, // hide the search box |
|
| 85 | 85 | 'data-allowclear' => 'false', // allow to clear a selected value |
| 86 | 86 | 'data-placeholder' => /*@translate*/ 'Distance', |
| 87 | 87 | 'data-width' => '100%', |
@@ -28,8 +28,8 @@ |
||
| 28 | 28 | * |
| 29 | 29 | * @var array |
| 30 | 30 | */ |
| 31 | - protected $fields=[ |
|
| 32 | - 'q' => [ |
|
| 31 | + protected $fields=[ |
|
| 32 | + 'q' => [ |
|
| 33 | 33 | 'enabled' => true |
| 34 | 34 | ], |
| 35 | 35 | 'l' => [ |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | * |
| 29 | 29 | * @var array |
| 30 | 30 | */ |
| 31 | - protected $fields=[ |
|
| 31 | + protected $fields = [ |
|
| 32 | 32 | 'q' => [ |
| 33 | 33 | 'enabled' => true |
| 34 | 34 | ], |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | /** |
| 57 | 57 | * @return int |
| 58 | 58 | */ |
| 59 | - public function getPerPage(){ |
|
| 59 | + public function getPerPage() { |
|
| 60 | 60 | return $this->perPage; |
| 61 | 61 | } |
| 62 | 62 | |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | * @return $this |
| 67 | 67 | */ |
| 68 | 68 | public function setPerPage($perPage) { |
| 69 | - $this->perPage=$perPage; |
|
| 69 | + $this->perPage = $perPage; |
|
| 70 | 70 | return $this; |
| 71 | 71 | } |
| 72 | 72 | } |
| 73 | 73 | \ No newline at end of file |