Skip to content

Commit a1947a2

Browse files
committed
Cast post to int
1 parent 53e70be commit a1947a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Laravel/RelayConnector.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ protected function establishConnection($client, array $config)
136136

137137
$parameters = [
138138
$this->formatHost($config),
139-
$config['port'],
139+
(int) $config['port'],
140140
Arr::get($config, 'timeout', 0.0),
141141
$persistent ? Arr::get($config, 'persistent_id', null) : null,
142142
Arr::get($config, 'retry_interval', 0),

0 commit comments

Comments
 (0)