Page MenuHomeDevCentral

D242.diff
No OneTemporary

D242.diff

diff --git a/src/AMQPBroker.php b/src/AMQPBroker.php
--- a/src/AMQPBroker.php
+++ b/src/AMQPBroker.php
@@ -68,7 +68,8 @@
static public function makeFromConfig ($params) {
$instance = new self;
- $params = self::getDefaultValues() + $params;
+ $params += self::getDefaultValues();
+
$instance->connect(
$params['host'],
$params['port'],

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 10:03 (21 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2307930
Default Alt Text
D242.diff (402 B)

Event Timeline