@@ -130,7 +130,8 @@ discard block |
||
| 130 | 130 | return $sql; |
| 131 | 131 | } |
| 132 | 132 | |
| 133 | - private function gender($gender, $sql, $wheres) { |
|
| 133 | + private function gender($gender, $sql, $wheres) |
|
| 134 | + { |
|
| 134 | 135 | if ($gender) { |
| 135 | 136 | $sql .= 'gender = ? AND '; |
| 136 | 137 | array_push($wheres, $gender); |
@@ -138,7 +139,8 @@ discard block |
||
| 138 | 139 | return [$sql, $wheres]; |
| 139 | 140 | } |
| 140 | 141 | |
| 141 | - private function zip($zip, $sql, $wheres) { |
|
| 142 | + private function zip($zip, $sql, $wheres) |
|
| 143 | + { |
|
| 142 | 144 | if ($zip) { |
| 143 | 145 | $sql .= 'zip = ? AND '; |
| 144 | 146 | array_push($wheres, $zip); |
@@ -146,7 +148,8 @@ discard block |
||
| 146 | 148 | return [$sql, $wheres]; |
| 147 | 149 | } |
| 148 | 150 | |
| 149 | - private function country($country, $sql, $wheres) { |
|
| 151 | + private function country($country, $sql, $wheres) |
|
| 152 | + { |
|
| 150 | 153 | if ($country) { |
| 151 | 154 | $sql .= 'country = ? AND '; |
| 152 | 155 | array_push($wheres, $country); |
@@ -154,7 +157,8 @@ discard block |
||
| 154 | 157 | return [$sql, $wheres]; |
| 155 | 158 | } |
| 156 | 159 | |
| 157 | - private function registration($registration_from, $registration_to, $sql, $wheres) { |
|
| 160 | + private function registration($registration_from, $registration_to, $sql, $wheres) |
|
| 161 | + { |
|
| 158 | 162 | if ($registration_from) { |
| 159 | 163 | $registration_from = date("Y-m-d", strtotime($registration_from)); |
| 160 | 164 | |