Completed
Branch master (cbd358)
by Pierre-Henry
36:07
created
library/Service/Google/OAuth/contrib/Google_AdexchangebuyerService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
      * Retrieves the authenticated user's list of accounts. (accounts.list)
94 94
      *
95 95
      * @param array $optParams Optional parameters.
96
-     * @return Google_AccountsList
96
+     * @return Google_Accounts
97 97
      */
98 98
     public function listAccounts($optParams = array()) {
99 99
       $params = array();
Please login to merge, or discard this patch.
library/Service/Google/OAuth/contrib/Google_AdsensehostService.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
      * @opt_param string filter Filters to be run on the report.
213 213
      * @opt_param string startIndex Index of the first row of report data to return.
214 214
      * @opt_param string dimension Dimensions to base the report on.
215
-     * @return Google_Report
215
+     * @return Google_AdsenseReportsGenerateResponse
216 216
      */
217 217
     public function generate($endDate, $startDate, $optParams = array()) {
218 218
       $params = array('endDate' => $endDate, 'startDate' => $startDate);
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
     /**
258 258
      * Get information about the selected associated AdSense account. (accounts.get)
259 259
      *
260
-     * @param string $accountId Account to get information about.
260
+     * @param integer $accountId Account to get information about.
261 261
      * @param array $optParams Optional parameters.
262 262
      * @return Google_Account
263 263
      */
@@ -505,7 +505,7 @@  discard block
 block discarded – undo
505 505
      * @opt_param string filter Filters to be run on the report.
506 506
      * @opt_param string startIndex Index of the first row of report data to return.
507 507
      * @opt_param string dimension Dimensions to base the report on.
508
-     * @return Google_Report
508
+     * @return Google_AdsenseReportsGenerateResponse
509 509
      */
510 510
     public function generate($accountId, $startDate, $endDate, $optParams = array()) {
511 511
       $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate);
Please login to merge, or discard this patch.
_protected/library/Service/Google/OAuth/contrib/Google_AdsenseService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@
 block discarded – undo
241 241
     /**
242 242
      * Get information about the selected AdSense account. (accounts.get)
243 243
      *
244
-     * @param string $accountId Account to get information about.
244
+     * @param integer $accountId Account to get information about.
245 245
      * @param array $optParams Optional parameters.
246 246
      *
247 247
      * @opt_param bool tree Whether the tree of sub accounts should be returned.
Please login to merge, or discard this patch.
_protected/library/Service/Google/OAuth/contrib/Google_BloggerService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -319,7 +319,7 @@
 block discarded – undo
319 319
      * @opt_param string maxResults Maximum number of comments to include in the result.
320 320
      * @opt_param string pageToken Continuation token if request is paged.
321 321
      * @opt_param bool fetchBodies Whether the body content of the comments is included.
322
-     * @return Google_CommentList
322
+     * @return Google_CommentFeed
323 323
      */
324 324
     public function listComments($blogId, $postId, $optParams = array()) {
325 325
       $params = array('blogId' => $blogId, 'postId' => $postId);
Please login to merge, or discard this patch.
_protected/library/Service/Google/OAuth/contrib/Google_OrkutService.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      * @opt_param string pageToken A continuation token that allows pagination.
124 124
      * @opt_param string maxResults The maximum number of activities to include in the response.
125 125
      * @opt_param string hl Specifies the interface language (host language) of your user interface.
126
-     * @return Google_ActivityList
126
+     * @return Google_ActivityFeed
127 127
      */
128 128
     public function listActivities($userId, $collection, $optParams = array()) {
129 129
       $params = array('userId' => $userId, 'collection' => $collection);
@@ -445,7 +445,7 @@  discard block
 block discarded – undo
445 445
      * Retrieves an existing comment. (comments.get)
446 446
      *
447 447
      * @param string $commentId ID of the comment to get.
448
-     * @param array $optParams Optional parameters.
448
+     * @param string $optParams Optional parameters.
449 449
      *
450 450
      * @opt_param string hl Specifies the interface language (host language) of your user interface.
451 451
      * @return Google_Comment
@@ -464,13 +464,13 @@  discard block
 block discarded – undo
464 464
      * Retrieves a list of comments, possibly filtered. (comments.list)
465 465
      *
466 466
      * @param string $activityId The ID of the activity containing the comments.
467
-     * @param array $optParams Optional parameters.
467
+     * @param string $optParams Optional parameters.
468 468
      *
469 469
      * @opt_param string orderBy Sort search results.
470 470
      * @opt_param string pageToken A continuation token that allows pagination.
471 471
      * @opt_param string maxResults The maximum number of activities to include in the response.
472 472
      * @opt_param string hl Specifies the interface language (host language) of your user interface.
473
-     * @return Google_CommentList
473
+     * @return Google_CommentFeed
474 474
      */
475 475
     public function listComments($activityId, $optParams = array()) {
476 476
       $params = array('activityId' => $activityId);
Please login to merge, or discard this patch.
_protected/library/Service/Google/OAuth/contrib/Google_PlusService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      * List all of the comments for an activity. (comments.list)
103 103
      *
104 104
      * @param string $activityId The ID of the activity to get comments for.
105
-     * @param array $optParams Optional parameters.
105
+     * @param string $optParams Optional parameters.
106 106
      *
107 107
      * @opt_param string pageToken The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.
108 108
      * @opt_param string maxResults The maximum number of comments to include in the response, used for paging. For any response, the actual number returned may be less than the specified maxResults.
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      * Get a comment. (comments.get)
124 124
      *
125 125
      * @param string $commentId The ID of the comment to get.
126
-     * @param array $optParams Optional parameters.
126
+     * @param string $optParams Optional parameters.
127 127
      * @return Google_Comment
128 128
      */
129 129
     public function get($commentId, $optParams = array()) {
Please login to merge, or discard this patch.
_protected/library/Service/Google/OAuth/contrib/Google_TaskqueueService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
      * @param string $project The project under which the queue lies.
103 103
      * @param string $taskqueue The id of the taskqueue to list tasks from.
104 104
      * @param array $optParams Optional parameters.
105
-     * @return Google_Tasks2
105
+     * @return Google_Tasks
106 106
      */
107 107
     public function listTasks($project, $taskqueue, $optParams = array()) {
108 108
       $params = array('project' => $project, 'taskqueue' => $taskqueue);
Please login to merge, or discard this patch.
_protected/library/Service/Google/OAuth/contrib/Google_TasksService.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@  discard block
 block discarded – undo
29 29
      * Creates a new task on the specified task list. (tasks.insert)
30 30
      *
31 31
      * @param string $tasklist Task list identifier.
32
-     * @param Google_Task $postBody
33
-     * @param array $optParams Optional parameters.
32
+     * @param string $postBody
33
+     * @param Google_Task $optParams Optional parameters.
34 34
      *
35 35
      * @opt_param string parent Parent task identifier. If the task is created at the top level, this parameter is omitted. Optional.
36 36
      * @opt_param string previous Previous sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted. Optional.
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      *
52 52
      * @param string $tasklist Task list identifier.
53 53
      * @param string $task Task identifier.
54
-     * @param array $optParams Optional parameters.
54
+     * @param string $optParams Optional parameters.
55 55
      * @return Google_Task
56 56
      */
57 57
     public function get($tasklist, $task, $optParams = array()) {
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * Returns all tasks in the specified task list. (tasks.list)
106 106
      *
107 107
      * @param string $tasklist Task list identifier.
108
-     * @param array $optParams Optional parameters.
108
+     * @param string $optParams Optional parameters.
109 109
      *
110 110
      * @opt_param string dueMax Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.
111 111
      * @opt_param bool showDeleted Flag indicating whether deleted tasks are returned in the result. Optional. The default is False.
@@ -134,8 +134,8 @@  discard block
 block discarded – undo
134 134
      *
135 135
      * @param string $tasklist Task list identifier.
136 136
      * @param string $task Task identifier.
137
-     * @param Google_Task $postBody
138
-     * @param array $optParams Optional parameters.
137
+     * @param string $postBody
138
+     * @param integer $optParams Optional parameters.
139 139
      * @return Google_Task
140 140
      */
141 141
     public function update($tasklist, $task, Google_Task $postBody, $optParams = array()) {
@@ -153,8 +153,8 @@  discard block
 block discarded – undo
153 153
      *
154 154
      * @param string $tasklist Task list identifier.
155 155
      * @param string $task Task identifier.
156
-     * @param Google_Task $postBody
157
-     * @param array $optParams Optional parameters.
156
+     * @param string $postBody
157
+     * @param integer $optParams Optional parameters.
158 158
      * @return Google_Task
159 159
      */
160 160
     public function patch($tasklist, $task, Google_Task $postBody, $optParams = array()) {
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      *
173 173
      * @param string $tasklist Task list identifier.
174 174
      * @param string $task Task identifier.
175
-     * @param array $optParams Optional parameters.
175
+     * @param string $optParams Optional parameters.
176 176
      */
177 177
     public function delete($tasklist, $task, $optParams = array()) {
178 178
       $params = array('tasklist' => $tasklist, 'task' => $task);
Please login to merge, or discard this patch.
_protected/library/Service/Google/OAuth/external/URITemplateParser.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@  discard block
 block discarded – undo
41 41
   public static $reserved;
42 42
   public static $reserved_pct;
43 43
 
44
+  /**
45
+   * @param string $template
46
+   */
44 47
   public function __construct($template) {
45 48
     self::$reserved = array_merge(self::$gen_delims, self::$sub_delims);
46 49
     self::$reserved_pct = array_merge(self::$gen_delims_pct, self::$sub_delims_pct);
@@ -148,6 +151,9 @@  discard block
 block discarded – undo
148 151
     return $this->expansion;
149 152
   }
150 153
 
154
+  /**
155
+   * @param stdClass $exp
156
+   */
151 157
   private function val_from_var($var, $exp) {
152 158
     $val = '';
153 159
     if (is_array($var->data)) {
Please login to merge, or discard this patch.