Skip to content

Commit

Permalink
修复afterInit事件传递错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavle Lee committed May 10, 2017
1 parent b6f8a3a commit 10abcd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hprose/Yii/RpcClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function getService($service, $async = true)
if (!isset($this->_service[$service][$group])) {
$obj = new Client($this->getServiceUrls($service), $async);
$this->trigger(static::EVENT_AFTER_INIT_CLIENT, new Event([
'data' => &$obj
'sender' => &$obj
]));
$this->_service[$service][$group] = $obj;
}
Expand Down

0 comments on commit 10abcd6

Please sign in to comment.