Skip to content

Commit

Permalink
Merge branch 'master' of ssh://icode.baidu.com:8235/baidu/duer/bot-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanpeng authored and yuanpeng committed May 14, 2018
2 parents f81b584 + bc85d41 commit dc47850
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@
#2.1.11
* update README
* fix VideoPlayer.Play.setOffsetInMilliseconds

#2.1.12
* fix RenderTemplate __construct
2 changes: 1 addition & 1 deletion src/Directive/Display/RenderTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class RenderTemplate extends \Baidu\Duer\Botsdk\Directive\BaseDirective{
* @desc __construct
* @param BaseTemplate $template
*/
public function __construct($template == null) {
public function __construct($template = null) {
parent::__construct('Display.RenderTemplate');
$this->setTemplate($template);
}
Expand Down

0 comments on commit dc47850

Please sign in to comment.