Page MenuHomeDevCentral

D224.diff
No OneTemporary

D224.diff

diff --git a/src/AMQPBroker.php b/src/AMQPBroker.php
--- a/src/AMQPBroker.php
+++ b/src/AMQPBroker.php
@@ -52,14 +52,14 @@
* Connects to the message broker
*
* @param string $host The broker host
- * @param string $port The broker port
+ * @param int $port The broker port
* @param string $username The broker username
* @param string $password The broker password
* @param string $vhost The broker vhost
*/
public function connect (
$host = 'localhost',
- $port = '5672',
+ $port = 5672,
$username = 'guest',
$password = 'guest',
$vhost = '/'

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 17:59 (19 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2249691
Default Alt Text
D224.diff (650 B)

Event Timeline