Skip to content

Commit 8943418

Browse files
committed
Connection bug fix
1 parent f40ce5b commit 8943418

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Connection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,15 @@ public function setOptions(): void
135135
$this->options()->add('bypass_map_validation', $this->config['options']['bypass_map_validation'] ?? false);
136136

137137
if (! empty($this->config['options']['retires'])) {
138-
$this->options()->add('retires', $this->config['options']['retires']);
138+
$this->options()->add('retires', (int) $this->config['options']['retires']);
139139
}
140140

141141
if (isset($this->config['options']['meta_header'])) {
142142
$this->options()->add('meta_header', $this->config['options']['meta_header']);
143143
}
144144

145145
if (isset($this->config['options']['default_limit'])) {
146-
$this->defaultQueryLimit = $this->config['options']['default_limit'];
146+
$this->defaultQueryLimit = (int) $this->config['options']['default_limit'];
147147
}
148148
}
149149

0 commit comments

Comments
 (0)