注释修改

This commit is contained in:
thinkphp
2015-12-10 18:31:30 +08:00
parent ffdf06d36d
commit 0a1cc5b73a
25 changed files with 113 additions and 113 deletions

View File

@@ -1,8 +1,8 @@
<?php
// +----------------------------------------------------------------------
// | TOPThink [ WE CAN DO IT JUST THINK ]
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2010 http://topthink.com All rights reserved.
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
@@ -44,7 +44,7 @@ class Github extends Driver
{
/* Github 调用公共参数 */
$params = [];
$header = array("Authorization: bearer {$this->token['access_token']}");
$header = ["Authorization: bearer {$this->token['access_token']}"];
$data = $this->http($this->url($api), $this->param($params, $param), $method, $header);
return json_decode($data, true);