Add space between elseif/else if and ‘(‘

[MAILPOET-1791]
This commit is contained in:
Ján Mikláš
2019-02-13 13:01:57 +01:00
committed by M. Shull
parent 100db25ed9
commit a935b091d3
26 changed files with 46 additions and 46 deletions

View File

@ -15,7 +15,7 @@ class BatchIterator implements \Iterator, \Countable {
function __construct($task_id, $batch_size) {
if($task_id <= 0) {
throw new \Exception('Task ID must be greater than zero');
} elseif($batch_size <= 0) {
} elseif ($batch_size <= 0) {
throw new \Exception('Batch size must be greater than zero');
}
$this->task_id = (int)$task_id;