Convert variable names to camel case
[MAILPOET-1796]
This commit is contained in:
@ -15,9 +15,9 @@ abstract class SubscribersGetter {
|
||||
protected $offset;
|
||||
protected $finished;
|
||||
|
||||
public function __construct($segments_ids, $batch_size) {
|
||||
$this->segments_ids = $segments_ids;
|
||||
$this->batch_size = $batch_size;
|
||||
public function __construct($segmentsIds, $batchSize) {
|
||||
$this->segmentsIds = $segmentsIds;
|
||||
$this->batchSize = $batchSize;
|
||||
$this->reset();
|
||||
}
|
||||
|
||||
@ -65,9 +65,9 @@ abstract class SubscribersGetter {
|
||||
$subscribers = $this->select();
|
||||
$subscribers = $this->filter($subscribers);
|
||||
|
||||
$this->offset += $this->batch_size;
|
||||
$this->offset += $this->batchSize;
|
||||
|
||||
if (count($subscribers) < $this->batch_size) {
|
||||
if (count($subscribers) < $this->batchSize) {
|
||||
$this->finished = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user