Add space between if and ‘(‘
[MAILPOET-1791]
This commit is contained in:
@ -27,7 +27,7 @@ abstract class SubscribersGetter {
|
||||
|
||||
/**
|
||||
* Initialize the query by selecting fields and ignoring trashed subscribers.
|
||||
*
|
||||
*
|
||||
* @return \ORM
|
||||
*/
|
||||
protected function select() {
|
||||
@ -47,7 +47,7 @@ abstract class SubscribersGetter {
|
||||
|
||||
/**
|
||||
* Filters the subscribers query based on the segments, offset and batch size.
|
||||
*
|
||||
*
|
||||
* @param \ORM $subscribers
|
||||
* @return array
|
||||
*/
|
||||
@ -57,7 +57,7 @@ abstract class SubscribersGetter {
|
||||
* Gets the next batch of subscribers or `false` if no more!
|
||||
*/
|
||||
public function get() {
|
||||
if($this->finished) {
|
||||
if ($this->finished) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -66,10 +66,10 @@ abstract class SubscribersGetter {
|
||||
|
||||
$this->offset += $this->batch_size;
|
||||
|
||||
if(count($subscribers) < $this->batch_size) {
|
||||
if (count($subscribers) < $this->batch_size) {
|
||||
$this->finished = true;
|
||||
}
|
||||
|
||||
return $subscribers;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user