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

@ -17,7 +17,7 @@ class DynamicSubscribersGetter extends SubscribersGetter {
function __construct($segments_ids, $batch_size, WPFunctions $wp = null) {
parent::__construct($segments_ids, $batch_size);
if($wp == null) {
if ($wp == null) {
$wp = new WPFunctions;
}
$this->wp = $wp;
@ -36,7 +36,7 @@ class DynamicSubscribersGetter extends SubscribersGetter {
$segment_id
);
if(!is_array($filters) || empty($filters)) {
if (!is_array($filters) || empty($filters)) {
return array();
}
@ -57,13 +57,13 @@ class DynamicSubscribersGetter extends SubscribersGetter {
}
public function get() {
if($this->segment_index >= count($this->segments_ids)) {
if ($this->segment_index >= count($this->segments_ids)) {
$this->finished = true;
}
$subscribers = parent::get();
if($subscribers !== false && count($subscribers) < $this->batch_size) {
if ($subscribers !== false && count($subscribers) < $this->batch_size) {
$this->segment_index ++;
$this->offset = 0;
$this->finished = false;