GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Pull Request — master (#23)
by t
03:07
created
src/iapis/VideoResource.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
             'page' => $page,
31 31
             'pageSize' => $pageSize,
32 32
         ]), 'data', []);
33
-        $this->_toArrayCall = function ($array) {
33
+        $this->_toArrayCall = function($array) {
34 34
             return Arrays::columns($array, [
35 35
                 'id' => 'd_id',
36 36
                 'name' => 'd_name',
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
             'page' => $page,
59 59
             'pageSize' => $pageSize,
60 60
         ]), 'data', []);
61
-        $this->_toArrayCall = function ($array) {
61
+        $this->_toArrayCall = function($array) {
62 62
             return Arrays::columns($array, [
63 63
                 'id' => 'd_id',
64 64
                 'name' => 'd_name',
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         $this->_result = (array)Json::get(Http::get('http://api.jinsapi.com/yingshi/getVodById', [
83 83
             'd_id' => $id,
84 84
         ]), 'data', []);
85
-        $this->_toArrayCall = function ($array) {
85
+        $this->_toArrayCall = function($array) {
86 86
             return Arrays::columns($array, [
87 87
                 'id' => 'd_id',
88 88
                 'name' => 'd_name',
Please login to merge, or discard this patch.
src/iapis/Meteorology.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     public function fetchCitys($provinceCode = null)
38 38
     {
39 39
         $this->_result = (array)Json::decode(Http::get('http://www.nmc.cn/f/rest/province/' . $provinceCode));
40
-        $this->_toArrayCall = function ($array) {
40
+        $this->_toArrayCall = function($array) {
41 41
             return Arrays::columns($array, ['code', 'city', 'province']);
42 42
         };
43 43
 
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     public function fetchWeather($cityId)
71 71
     {
72 72
         $this->_result = (array)Json::decode(Http::get('http://www.nmc.cn/f/rest/real/' . $cityId));
73
-        $this->_toArrayCall = function ($array) {
73
+        $this->_toArrayCall = function($array) {
74 74
             return Arrays::columns($array, [
75 75
                 'publish_time',
76 76
                 'airpressure' => 'weather.airpressure',
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     public function fetchAirQuality($cityId)
105 105
     {
106 106
         $this->_result = (array)Json::decode(Http::get('http://www.nmc.cn/f/rest/aqi/' . $cityId));
107
-        $this->_toArrayCall = function ($array) {
107
+        $this->_toArrayCall = function($array) {
108 108
             return Arrays::columns($array, [
109 109
                 'forecasttime',
110 110
                 'aq',
@@ -129,9 +129,9 @@  discard block
 block discarded – undo
129 129
      *
130 130
      * @return static
131 131
      */
132
-    public function fetchToday($cityId){
132
+    public function fetchToday($cityId) {
133 133
         $this->_result = (array)Json::decode(Http::get('http://www.nmc.cn/f/rest/passed/' . $cityId));
134
-        $this->_toArrayCall = function ($array) {
134
+        $this->_toArrayCall = function($array) {
135 135
             return Arrays::columns($array, [
136 136
                 'time',
137 137
                 'humidity',
Please login to merge, or discard this patch.