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.
Completed
Pull Request — develop (#145)
by
unknown
09:16 queued 03:08
created
myth/Mail/Mail.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      * @param $mailer_name
46 46
      * @param array $params
47 47
      * @param array $options
48
-     * @return mixed
48
+     * @return boolean
49 49
      */
50 50
     public static function deliver($mailer_name, $params=[], $options=[])
51 51
     {
Please login to merge, or discard this patch.
myth/Models/CIDbModel.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -740,7 +740,6 @@  discard block
 block discarded – undo
740 740
      * $this->update_by($wheres, $data);
741 741
      * $this->update_by('user_id', 15, $data);
742 742
      *
743
-     * @param array $data An array of data pairs to update
744 743
      * @param one or more WHERE-acceptable entries.
745 744
      * @return bool
746 745
      */
@@ -1119,7 +1118,7 @@  discard block
 block discarded – undo
1119 1118
      *
1120 1119
      * @param $field
1121 1120
      *
1122
-     * @return mixed
1121
+     * @return CIDbModel
1123 1122
      */
1124 1123
     public function protect($field)
1125 1124
     {
@@ -1380,6 +1379,7 @@  discard block
 block discarded – undo
1380 1379
      *
1381 1380
      * @param  array $data An array of validation rules
1382 1381
      * @param  string $type Either 'update' or 'insert'.
1382
+     * @param boolean $skip_validation
1383 1383
      * @return array/bool       The original data or FALSE
1384 1384
      */
1385 1385
     public function validate($data, $type = 'update', $skip_validation = null)
Please login to merge, or discard this patch.
myth/Modules.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 	/**
101 101
 	 * Load a module file
102 102
 	 *
103
-	 * @param $file
103
+	 * @param string $file
104 104
 	 * @param $path
105 105
 	 * @param string $type
106 106
 	 * @param bool $result
@@ -333,8 +333,8 @@  discard block
 block discarded – undo
333 333
 	/**
334 334
 	 * Returns the path to the module and it's specified folder.
335 335
 	 *
336
-	 * @param $module string The name of the module (must match the folder name)
337
-	 * @param $folder string The folder name to search for. (Optional)
336
+	 * @param string $module string The name of the module (must match the folder name)
337
+	 * @param string $folder string The folder name to search for. (Optional)
338 338
 	 *
339 339
 	 * @return string The path, relative to the front controller, or false if the folder was not found
340 340
 	 */
Please login to merge, or discard this patch.
myth/Route.php 1 patch
Doc Comments   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -194,8 +194,8 @@  discard block
 block discarded – undo
194 194
      *      // Returns http://mysite.com/news
195 195
      *      site_url( Route::named('blog') );
196 196
      *
197
-     * @param  [type] $name [description]
198
-     * @return [type]       [description]
197
+     * @param  string $name [description]
198
+     * @return string       [description]
199 199
      */
200 200
     public static function named($name)
201 201
     {
@@ -279,8 +279,8 @@  discard block
 block discarded – undo
279 279
     /**
280 280
      * Specifies a route that is only available to GET requests.
281 281
      *
282
-     * @param       $from
283
-     * @param       $to
282
+     * @param       string $from
283
+     * @param       string $to
284 284
      * @param array $options
285 285
      */
286 286
     public function get($from, $to, $options = [])
@@ -295,8 +295,8 @@  discard block
 block discarded – undo
295 295
     /**
296 296
      * Specifies a route that is only available to POST requests.
297 297
      *
298
-     * @param       $from
299
-     * @param       $to
298
+     * @param       string $from
299
+     * @param       string $to
300 300
      * @param array $options
301 301
      */
302 302
     public function post($from, $to, $options = [])
@@ -311,8 +311,8 @@  discard block
 block discarded – undo
311 311
     /**
312 312
      * Specifies a route that is only available to PUT requests.
313 313
      *
314
-     * @param       $from
315
-     * @param       $to
314
+     * @param       string $from
315
+     * @param       string $to
316 316
      * @param array $options
317 317
      */
318 318
     public function put($from, $to, $options = [])
@@ -327,8 +327,8 @@  discard block
 block discarded – undo
327 327
     /**
328 328
      * Specifies a route that is only available to DELETE requests.
329 329
      *
330
-     * @param       $from
331
-     * @param       $to
330
+     * @param       string $from
331
+     * @param       string $to
332 332
      * @param array $options
333 333
      */
334 334
     public function delete($from, $to, $options = [])
@@ -375,8 +375,8 @@  discard block
 block discarded – undo
375 375
     /**
376 376
      * Specifies a route that is only available to OPTIONS requests.
377 377
      *
378
-     * @param       $from
379
-     * @param       $to
378
+     * @param       string $from
379
+     * @param       string $to
380 380
      * @param array $options
381 381
      */
382 382
     public function options($from, $to, $options = [])
@@ -500,7 +500,7 @@  discard block
 block discarded – undo
500 500
      * Limits the routes to a specified ENVIRONMENT or they won't run.
501 501
      *
502 502
      * @param $env
503
-     * @param callable $callback
503
+     * @param \Closure $callback
504 504
      *
505 505
      * @return bool|null
506 506
      */
Please login to merge, or discard this patch.
myth/Themers/MetaInterface.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      * @param $alias
40 40
      * @param null $value
41 41
      *
42
-     * @return mixed
42
+     * @return MetaCollection
43 43
      */
44 44
     public function set($alias, $value=null);
45 45
 
@@ -59,9 +59,8 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      * Renders out all defined meta tags.
61 61
      *
62
-     * @param array $show_tags
63 62
      *
64
-     * @return mixed
63
+     * @return null|string
65 64
      */
66 65
     public function renderTags();
67 66
 
Please login to merge, or discard this patch.
myth/Themers/ViewThemer.php 1 patch
Doc Comments   +7 added lines, -9 removed lines patch added patch discarded remove patch
@@ -73,7 +73,6 @@  discard block
 block discarded – undo
73 73
      * controller and is generally the last method called.
74 74
      *
75 75
      * @param string $layout        If provided, will override the default layout.
76
-     * @param int    $cache_time    The number of seconds to cache the output for.
77 76
      * @return mixed
78 77
      */
79 78
     public function render($layout = null)
@@ -104,7 +103,6 @@  discard block
 block discarded – undo
104 103
 	 * Used within the template layout file to render the current content.
105 104
 	 * This content is typically used to display the current view.
106 105
 	 *
107
-	 * @param int $cache_time
108 106
 	 *
109 107
 	 * @return mixed
110 108
 	 */
@@ -304,7 +302,7 @@  discard block
 block discarded – undo
304 302
     /**
305 303
      * Returns the current theme.
306 304
      *
307
-     * @return mixed|string
305
+     * @return string
308 306
      */
309 307
     public function theme()
310 308
     {
@@ -343,7 +341,7 @@  discard block
 block discarded – undo
343 341
     /**
344 342
      * Returns the current view.
345 343
      *
346
-     * @return mixed|string
344
+     * @return string
347 345
      */
348 346
     public function view()
349 347
     {
@@ -371,7 +369,7 @@  discard block
 block discarded – undo
371 369
     /**
372 370
      * Returns the current layout.
373 371
      *
374
-     * @return mixed|string
372
+     * @return string
375 373
      */
376 374
     public function layout()
377 375
     {
@@ -425,7 +423,7 @@  discard block
 block discarded – undo
425 423
      * CodeIgniter's parser.
426 424
      *
427 425
      * @param bool $parse
428
-     * @return mixed
426
+     * @return ViewThemer
429 427
      */
430 428
     public function parseViews($parse = false)
431 429
     {
@@ -444,7 +442,7 @@  discard block
 block discarded – undo
444 442
      * @param $alias The name the theme can be referenced by
445 443
      * @param $path  A new path where themes can be found.
446 444
      *
447
-     * @return mixed
445
+     * @return ViewThemer
448 446
      */
449 447
     public function addThemePath($alias, $path)
450 448
     {
@@ -525,7 +523,7 @@  discard block
 block discarded – undo
525 523
      *
526 524
      * @param $name
527 525
      * @param $postfix
528
-     * @return $this|mixed
526
+     * @return ViewThemer
529 527
      */
530 528
     public function addVariant($name, $postfix)
531 529
     {
@@ -540,7 +538,7 @@  discard block
 block discarded – undo
540 538
      * Removes a variant from the system.
541 539
      *
542 540
      * @param $name
543
-     * @return $this|mixed
541
+     * @return ViewThemer
544 542
      */
545 543
     public function removeVariant($name)
546 544
     {
Please login to merge, or discard this patch.
myth/UIKits/BaseUIKit.php 1 patch
Doc Comments   +9 added lines, -10 removed lines patch added patch discarded remove patch
@@ -91,7 +91,6 @@  discard block
 block discarded – undo
91 91
      * Please note that that sizes are different than in Bootstrap. For example, for a 'xs'
92 92
      * column size in Bootstrap, you would use 's' here. 'sm' = 'm', etc.
93 93
      *
94
-     * @param array $attributes
95 94
      * @return mixed
96 95
      */
97 96
     abstract public function column($options=[], \Closure $c);
@@ -107,7 +106,7 @@  discard block
 block discarded – undo
107 106
      * top of a page.
108 107
      *
109 108
      * @param array    $options
110
-     * @param callable $c
109
+     * @param \Closure $c
111 110
      * @return string
112 111
      */
113 112
     abstract public function navbar($options=[], \Closure $c);
@@ -133,7 +132,7 @@  discard block
 block discarded – undo
133 132
      *      'class'     - An additional class to add
134 133
      *
135 134
      * @param array    $options
136
-     * @param callable $c
135
+     * @param \Closure $c
137 136
      * @return string
138 137
      */
139 138
     abstract public function navbarRight($options=[], \Closure $c);
@@ -157,7 +156,7 @@  discard block
 block discarded – undo
157 156
      *
158 157
      * @param          $title
159 158
      * @param array    $options
160
-     * @param callable $c
159
+     * @param \Closure $c
161 160
      */
162 161
     abstract public function navDropdown($title,$options=[], \Closure $c);
163 162
 
@@ -176,7 +175,7 @@  discard block
 block discarded – undo
176 175
      * Creates a list of nav items to function as breadcrumbs for a site.
177 176
      *
178 177
      * @param array    $options
179
-     * @param callable $c
178
+     * @param \Closure $c
180 179
      * @return mixed
181 180
      */
182 181
     abstract public function breadcrumb($options=[], \Closure $c);
@@ -218,7 +217,7 @@  discard block
 block discarded – undo
218 217
      * Creates button groups wrapping HTML.
219 218
      *
220 219
      * @param          $options
221
-     * @param callable $c
220
+     * @param \Closure $c
222 221
      * @return mixed
223 222
      */
224 223
     abstract public function buttonGroup($options, \Closure $c);
@@ -227,7 +226,7 @@  discard block
 block discarded – undo
227 226
      * Creates the button bar wrapping HTML.
228 227
      *
229 228
      * @param          $options
230
-     * @param callable $c
229
+     * @param \Closure $c
231 230
      * @return mixed
232 231
      */
233 232
     abstract public function buttonBar($options, \Closure $c);
@@ -240,7 +239,7 @@  discard block
 block discarded – undo
240 239
      * @param string $style
241 240
      * @param string $size
242 241
      * @param array  $options
243
-     * @param callable $c
242
+     * @param \Closure $c
244 243
      * @return mixed
245 244
      */
246 245
     abstract public function buttonDropdown($title, $style='default', $size='default', $options=[], \Closure $c);
@@ -272,7 +271,7 @@  discard block
 block discarded – undo
272 271
 	 *
273 272
 	 * @param $label_text
274 273
 	 * @param array $options
275
-	 * @param callable $c
274
+	 * @param \Closure $c
276 275
 	 *
277 276
 	 * @return mixed
278 277
 	 */
@@ -285,7 +284,7 @@  discard block
 block discarded – undo
285 284
     /**
286 285
      * Helper method to run a Closure and collect the output of it.
287 286
      *
288
-     * @param callable $c
287
+     * @param \Closure $c
289 288
      * @return string
290 289
      */
291 290
     protected function runClosure(\Closure $c)
Please login to merge, or discard this patch.
myth/UIKits/Bootstrap.php 1 patch
Doc Comments   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      * approach to rows and columns than the reference Bootstrap and Foundation.
50 50
      *
51 51
      * @param array $options
52
-     * @return mixed
52
+     * @return string
53 53
      */
54 54
     public function row($options=[], \Closure $c)
55 55
     {
@@ -80,8 +80,7 @@  discard block
 block discarded – undo
80 80
      * Please note that that sizes are different than in Bootstrap. For example, for a 'xs'
81 81
      * column size in Bootstrap, you would use 's' here. 'sm' = 'm', etc.
82 82
      *
83
-     * @param array $attributes
84
-     * @return mixed
83
+     * @return string
85 84
      */
86 85
     public function column($options=[], \Closure $c)
87 86
     {
@@ -141,7 +140,7 @@  discard block
 block discarded – undo
141 140
      * top of a page.
142 141
      *
143 142
      * @param array    $options
144
-     * @param callable $c
143
+     * @param \Closure $c
145 144
      * @return string
146 145
      */
147 146
     public function navbar($options=[], \Closure $c)
@@ -218,7 +217,7 @@  discard block
 block discarded – undo
218 217
      *      'class'     - An additional class to add
219 218
      *
220 219
      * @param array    $options
221
-     * @param callable $c
220
+     * @param \Closure $c
222 221
      * @return string
223 222
      */
224 223
     public function navbarRight($options=[], \Closure $c)
@@ -270,7 +269,7 @@  discard block
 block discarded – undo
270 269
      *
271 270
      * @param          $title
272 271
      * @param array    $options
273
-     * @param callable $c
272
+     * @param \Closure $c
274 273
      */
275 274
     public function navDropdown($title,$options=[], \Closure $c)
276 275
     {
@@ -320,8 +319,8 @@  discard block
 block discarded – undo
320 319
      * Creates a list of nav items to function as breadcrumbs for a site.
321 320
      *
322 321
      * @param array    $options
323
-     * @param callable $c
324
-     * @return mixed
322
+     * @param \Closure $c
323
+     * @return string
325 324
      */
326 325
     public function breadcrumb($options=[], \Closure $c)
327 326
     {
@@ -401,9 +400,10 @@  discard block
 block discarded – undo
401 400
      * Helper method to render out our buttons in a DRY manner.
402 401
      *
403 402
      * @param $title
404
-     * @param $style
405
-     * @param $size
403
+     * @param string $style
404
+     * @param string $size
406 405
      * @param $tag
406
+     * @return \Closure
407 407
      */
408 408
     protected function renderButtonElement($title, $style, $size, $options, $tag)
409 409
     {
@@ -473,8 +473,8 @@  discard block
 block discarded – undo
473 473
      * Creates button groups wrapping HTML.
474 474
      *
475 475
      * @param          $options
476
-     * @param callable $c
477
-     * @return mixed
476
+     * @param \Closure $c
477
+     * @return string
478 478
      */
479 479
     public function buttonGroup($options, \Closure $c)
480 480
     {
@@ -495,8 +495,8 @@  discard block
 block discarded – undo
495 495
      * Creates the button bar wrapping HTML.
496 496
      *
497 497
      * @param          $options
498
-     * @param callable $c
499
-     * @return mixed
498
+     * @param \Closure $c
499
+     * @return string
500 500
      */
501 501
     public function buttonBar($options, \Closure $c)
502 502
     {
@@ -523,8 +523,8 @@  discard block
 block discarded – undo
523 523
      * @param string $style
524 524
      * @param string $size
525 525
      * @param array  $options
526
-     * @param callable $c
527
-     * @return mixed
526
+     * @param \Closure $c
527
+     * @return string
528 528
      */
529 529
     public function buttonDropdown($title, $style='default', $size='default', $options=[], \Closure $c)
530 530
     {
@@ -556,7 +556,7 @@  discard block
 block discarded – undo
556 556
      * @param $content
557 557
      * @param string $style
558 558
      * @param bool $closable
559
-     * @return mixed
559
+     * @return string
560 560
      */
561 561
     public function notice($content, $style='success', $closable=true, $options=[])
562 562
     {
@@ -609,9 +609,9 @@  discard block
 block discarded – undo
609 609
 	 *
610 610
 	 * @param $label_text
611 611
 	 * @param array $options
612
-	 * @param callable $c
612
+	 * @param \Closure $c
613 613
 	 *
614
-	 * @return mixed
614
+	 * @return string
615 615
 	 */
616 616
 	public function inputWrap($label_text, $options=[], \Closure $c)
617 617
 	{
Please login to merge, or discard this patch.
myth/UIKits/Foundation.php 1 patch
Doc Comments   +17 added lines, -18 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      * approach to rows and columns than the reference Bootstrap and Foundation.
57 57
      *
58 58
      * @param array $options
59
-     * @return mixed
59
+     * @return string
60 60
      */
61 61
     public function row($options=[], \Closure $c)
62 62
     {
@@ -87,8 +87,7 @@  discard block
 block discarded – undo
87 87
      * Please note that that sizes are different than in Bootstrap. For example, for a 'xs'
88 88
      * column size in Bootstrap, you would use 's' here. 'sm' = 'm', etc.
89 89
      *
90
-     * @param array $attributes
91
-     * @return mixed
90
+     * @return string
92 91
      */
93 92
     public function column($options=[], \Closure $c)
94 93
     {
@@ -152,7 +151,7 @@  discard block
 block discarded – undo
152 151
      * top of a page.
153 152
      *
154 153
      * @param array    $options
155
-     * @param callable $c
154
+     * @param \Closure $c
156 155
      * @return string
157 156
      */
158 157
     public function navbar($options=[], \Closure $c)
@@ -224,7 +223,7 @@  discard block
 block discarded – undo
224 223
      *      'class'     - An additional class to add
225 224
      *
226 225
      * @param array    $options
227
-     * @param callable $c
226
+     * @param \Closure $c
228 227
      * @return string
229 228
      */
230 229
     public function navbarRight($options=[], \Closure $c)
@@ -263,7 +262,7 @@  discard block
 block discarded – undo
263 262
      *      'class'     - An additional class to add
264 263
      *
265 264
      * @param array    $options
266
-     * @param callable $c
265
+     * @param \Closure $c
267 266
      * @return string
268 267
      */
269 268
     public function navbarLeft($options=[], \Closure $c)
@@ -331,7 +330,7 @@  discard block
 block discarded – undo
331 330
      *
332 331
      * @param          $title
333 332
      * @param array    $options
334
-     * @param callable $c
333
+     * @param \Closure $c
335 334
      */
336 335
     public function navDropdown($title,$options=[], \Closure $c)
337 336
     {
@@ -389,8 +388,8 @@  discard block
 block discarded – undo
389 388
      * Creates a list of nav items to function as breadcrumbs for a site.
390 389
      *
391 390
      * @param array    $options
392
-     * @param callable $c
393
-     * @return mixed
391
+     * @param \Closure $c
392
+     * @return string
394 393
      */
395 394
     public function breadcrumb($options=[], \Closure $c)
396 395
     {
@@ -470,8 +469,8 @@  discard block
 block discarded – undo
470 469
      * Helper method to render out our buttons in a DRY manner.
471 470
      *
472 471
      * @param $title
473
-     * @param $style
474
-     * @param $size
472
+     * @param string $style
473
+     * @param string $size
475 474
      * @param $tag
476 475
      */
477 476
     protected function renderButtonElement($title, $style, $size, $options, $tag)
@@ -547,8 +546,8 @@  discard block
 block discarded – undo
547 546
      * Creates button groups wrapping HTML.
548 547
      *
549 548
      * @param          $options
550
-     * @param callable $c
551
-     * @return mixed
549
+     * @param \Closure $c
550
+     * @return string
552 551
      */
553 552
     public function buttonGroup($options, \Closure $c)
554 553
     {
@@ -573,8 +572,8 @@  discard block
 block discarded – undo
573 572
      * Creates the button bar wrapping HTML.
574 573
      *
575 574
      * @param          $options
576
-     * @param callable $c
577
-     * @return mixed
575
+     * @param \Closure $c
576
+     * @return string
578 577
      */
579 578
     public function buttonBar($options, \Closure $c)
580 579
     {
@@ -599,8 +598,8 @@  discard block
 block discarded – undo
599 598
      * @param string $style
600 599
      * @param string $size
601 600
      * @param array  $options
602
-     * @param callable $c
603
-     * @return mixed
601
+     * @param \Closure $c
602
+     * @return string
604 603
      */
605 604
     public function buttonDropdown($title, $style='default', $size='default', $options=[], \Closure $c)
606 605
     {
@@ -630,7 +629,7 @@  discard block
 block discarded – undo
630 629
      * @param $content
631 630
      * @param string $style
632 631
      * @param bool $closable
633
-     * @return mixed
632
+     * @return string
634 633
      */
635 634
     public function notice($content, $style='success', $closable=true, $options=[])
636 635
     {
Please login to merge, or discard this patch.