Add space between if and ‘(‘

[MAILPOET-1791]
This commit is contained in:
Ján Mikláš
2019-02-13 13:08:49 +01:00
committed by M. Shull
parent a935b091d3
commit 3ee58aea10
333 changed files with 4001 additions and 4001 deletions

View File

@@ -4,7 +4,7 @@ namespace MailPoet\Tasks\Subscribers;
use MailPoet\Models\ScheduledTaskSubscriber;
use function MailPoet\Util\array_column;
if(!defined('ABSPATH')) exit;
if (!defined('ABSPATH')) exit;
class BatchIterator implements \Iterator, \Countable {
private $task_id;
@@ -13,7 +13,7 @@ class BatchIterator implements \Iterator, \Countable {
private $batch_last_id;
function __construct($task_id, $batch_size) {
if($task_id <= 0) {
if ($task_id <= 0) {
throw new \Exception('Task ID must be greater than zero');
} elseif ($batch_size <= 0) {
throw new \Exception('Batch size must be greater than zero');