Convert variable names to camel case

[MAILPOET-1796]
This commit is contained in:
Jan Jakeš
2020-01-09 15:02:58 +01:00
committed by Jan Jakeš
parent f5da704106
commit 54549ff037
687 changed files with 15890 additions and 15887 deletions

View File

@ -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;
}