diff --git a/src/Bootstrap.php b/src/Bootstrap.php index 7947230..10c2f6f 100644 --- a/src/Bootstrap.php +++ b/src/Bootstrap.php @@ -53,7 +53,7 @@ protected function getMemcachedServers(): array foreach (range(1, getenv('MEMCACHE_COUNT')) as $num) { $servers[] = [ 'host' => getenv('MEMCACHE_HOST' . $num), - 'port' => getenv('MEMCACHE_PORT' . $num), + 'port' => (int) getenv('MEMCACHE_PORT' . $num), 'weight' => 1, ]; }