Closes #3527223
added 1 commit
added 1 commit
253 | 274 | */ |
254 | 275 | public function castNumeric($i = '') { |
255 | 276 | if (empty($i)) { |
256 | return 0; | |
277 | return '0'; | |
|
253 | 274 | */ |
254 | 275 | public function castNumeric($i = '') { |
255 | 276 | if (empty($i)) { |
256 | return 0; | |
277 | return '0'; | |
257 | 278 | } |
258 | 279 | |
259 | return $this->isInt($i) ? $i : "{$i}"; | |
280 | return $this->isInt($i) ? (string) $i : "{$i}"; | |
|
marked this merge request as ready
merged