Completed
Push — master ( a4fdfe...a232d7 )
by Joram van den
04:04
created
core/modules/_core/_coreComponentController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -26,6 +26,9 @@
 block discarded – undo
26 26
         return $this->_getResource('Ajde_Resource_Local_Compressed');
27 27
     }
28 28
 
29
+    /**
30
+     * @param string $className
31
+     */
29 32
     protected function _getResource($className)
30 33
     {
31 34
         // get resource from request
Please login to merge, or discard this patch.
core/modules/admin/AdminController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
      * Optional function called before controller is invoked
9 9
      * When returning false, invocation is cancelled
10 10
      *
11
-     * @return boolean
11
+     * @return null|boolean
12 12
      */
13 13
     public function beforeInvoke($allowed = [])
14 14
     {
Please login to merge, or discard this patch.
core/modules/admin/model/MetaModel.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@  discard block
 block discarded – undo
68 68
         return false;
69 69
     }
70 70
 
71
+    /**
72
+     * @param string $name
73
+     */
71 74
     public function getBooleanOption($name)
72 75
     {
73 76
         $val = $this->getOption($name);
@@ -75,6 +78,9 @@  discard block
 block discarded – undo
75 78
         return (boolean)$val;
76 79
     }
77 80
 
81
+    /**
82
+     * @param string $name
83
+     */
78 84
     public function getIntOption($name)
79 85
     {
80 86
         $val = $this->getOption($name);
@@ -82,6 +88,9 @@  discard block
 block discarded – undo
82 88
         return (int)$val;
83 89
     }
84 90
 
91
+    /**
92
+     * @param string $metaId
93
+     */
85 94
     public static function getNameFromId($metaId)
86 95
     {
87 96
         $meta = new self();
Please login to merge, or discard this patch.
core/modules/node/model/NodeModel.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
     /**
41 41
      *
42
-     * @param $slug
42
+     * @param string $slug
43 43
      * @return bool|NodeModel
44 44
      */
45 45
     public static function fromSlug($slug)
@@ -427,6 +427,9 @@  discard block
 block discarded – undo
427 427
         }
428 428
     }
429 429
 
430
+    /**
431
+     * @param string $method
432
+     */
430 433
     public function shadowCall($method)
431 434
     {
432 435
         $shadowModel = $this->getShadowModel();
@@ -479,7 +482,6 @@  discard block
 block discarded – undo
479 482
     }
480 483
 
481 484
     /**
482
-     * @param bool $breadcrumb
483 485
      * @deprecated use $this->slug = $this->_makeSlug();
484 486
      */
485 487
     private function _setSlug()
@@ -712,6 +714,9 @@  discard block
 block discarded – undo
712 714
         return $this->getSibling('prev', $loop);
713 715
     }
714 716
 
717
+    /**
718
+     * @param string $dir
719
+     */
715 720
     public function getSibling($dir, $loop = true)
716 721
     {
717 722
         if ($dir == 'next') {
Please login to merge, or discard this patch.
lib/Ajde/Crud.php 1 patch
Doc Comments   +12 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,6 +171,9 @@  discard block
 block discarded – undo
171 171
         parent::setAction($value);
172 172
     }
173 173
 
174
+    /**
175
+     * @param string $operation
176
+     */
174 177
     public function setOperation($operation)
175 178
     {
176 179
         $this->_operation = $operation;
@@ -193,7 +196,7 @@  discard block
 block discarded – undo
193 196
     /**
194 197
      * OPTIONS
195 198
      *
196
-     * @param            $name
199
+     * @param            string $name
197 200
      * @param bool|mixed $default
198 201
      * @return array|bool
199 202
      */
@@ -213,6 +216,9 @@  discard block
 block discarded – undo
213 216
         return $options;
214 217
     }
215 218
 
219
+    /**
220
+     * @param string $name
221
+     */
216 222
     public function setOption($name, $value)
217 223
     {
218 224
         $path    = explode('.', $name);
@@ -230,6 +236,7 @@  discard block
 block discarded – undo
230 236
 
231 237
     /**
232 238
      *
239
+     * @param string $key
233 240
      * @return array
234 241
      */
235 242
     public function getOptions($key = null)
@@ -250,6 +257,7 @@  discard block
 block discarded – undo
250 257
 
251 258
     /**
252 259
      * MISC
260
+     * @param Ajde_Model $value
253 261
      */
254 262
 
255 263
     public function setItem($value)
@@ -412,6 +420,9 @@  discard block
 block discarded – undo
412 420
         return $collection;
413 421
     }
414 422
 
423
+    /**
424
+     * @param Ajde_Model $model
425
+     */
415 426
     public function fireCrudLoadedOnModel($model)
416 427
     {
417 428
         Ajde_Event::trigger($model, 'afterCrudLoaded');
Please login to merge, or discard this patch.
lib/Ajde/Crud/Options/List/Buttons.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -88,8 +88,8 @@  discard block
 block discarded – undo
88 88
     /**
89 89
      * Adds a custom button for every item in the list
90 90
      *
91
-     * @param name    $name       Identifier of the button
92
-     * @param text    $text       Text to display
91
+     * @param string    $name       Identifier of the button
92
+     * @param string    $text       Text to display
93 93
      * @param string  $class      Optional classname to add
94 94
      * @param boolean $persistent Don't fold button
95 95
      * @param boolean $function   Call model function defined in $text (return false to omit button)
@@ -117,8 +117,6 @@  discard block
 block discarded – undo
117 117
      * Adds a custom button for every item in the list
118 118
      *
119 119
      * @param name $name  Identifier of the button
120
-     * @param text $text  Text to display
121
-     * @param type $class Optional classname to add
122 120
      * @return Ajde_Crud_Options_List_Buttons
123 121
      */
124 122
     public function addToolbarHtml($name, $html)
Please login to merge, or discard this patch.
lib/Ajde/Http/Curl.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      *
117 117
      * @param string      $url
118 118
      * @param bool|string $toFile
119
-     * @param bool|array  $header
119
+     * @param string[]  $header
120 120
      * @return string
121 121
      * @throws Exception
122 122
      */
@@ -222,6 +222,7 @@  discard block
 block discarded – undo
222 222
 
223 223
     /**
224 224
      * @source http://stackoverflow.com/a/5498992/938297
225
+     * @param resource $ch
225 226
      */
226 227
     private static function _curl_exec_follow(&$ch, $redirects = 20, $curlopt_header = false)
227 228
     {
Please login to merge, or discard this patch.
lib/Ajde/Resource/Local/Compressor/lib/Cssmin.php 1 patch
Doc Comments   +58 added lines, -56 removed lines patch added patch discarded remove patch
@@ -392,8 +392,8 @@  discard block
 block discarded – undo
392 392
      * @param string  $property    Property of the declaration
393 393
      * @param string  $value       Value of the declaration
394 394
      * @param boolean $isImportant Is the !important flag is set?
395
-     * @param boolean $IsLast      Is the declaration the last one of the block?
396
-     * @return void
395
+     * @param boolean $isLast      Is the declaration the last one of the block?
396
+     * @return aCssToken
397 397
      */
398 398
     public function __construct($property, $value, $isImportant = false, $isLast = false)
399 399
     {
@@ -629,7 +629,7 @@  discard block
 block discarded – undo
629 629
     /**
630 630
      * Implements {@link aMinifierPlugin::getTriggerTokens()}
631 631
      *
632
-     * @return array
632
+     * @return string[]
633 633
      */
634 634
     public function getTriggerTokens()
635 635
     {
@@ -750,7 +750,7 @@  discard block
 block discarded – undo
750 750
     /**
751 751
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
752 752
      *
753
-     * @return array
753
+     * @return string[]
754 754
      */
755 755
     public function getTriggerChars()
756 756
     {
@@ -760,7 +760,7 @@  discard block
 block discarded – undo
760 760
     /**
761 761
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
762 762
      *
763
-     * @return array
763
+     * @return boolean
764 764
      */
765 765
     public function getTriggerStates()
766 766
     {
@@ -773,7 +773,7 @@  discard block
 block discarded – undo
773 773
      * @param integer $index        Current index
774 774
      * @param string  $char         Current char
775 775
      * @param string  $previousChar Previous char
776
-     * @return mixed TRUE will break the processing; FALSE continue with the next plugin; integer set a new index and
776
+     * @return boolean TRUE will break the processing; FALSE continue with the next plugin; integer set a new index and
777 777
      *                              break the processing
778 778
      */
779 779
     public function parse($index, $char, $previousChar, $state)
@@ -832,7 +832,7 @@  discard block
 block discarded – undo
832 832
     /**
833 833
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
834 834
      *
835
-     * @return array
835
+     * @return string[]
836 836
      */
837 837
     public function getTriggerChars()
838 838
     {
@@ -842,7 +842,7 @@  discard block
 block discarded – undo
842 842
     /**
843 843
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
844 844
      *
845
-     * @return array
845
+     * @return boolean
846 846
      */
847 847
     public function getTriggerStates()
848 848
     {
@@ -855,7 +855,7 @@  discard block
 block discarded – undo
855 855
      * @param integer $index        Current index
856 856
      * @param string  $char         Current char
857 857
      * @param string  $previousChar Previous char
858
-     * @return mixed TRUE will break the processing; FALSE continue with the next plugin; integer set a new index and
858
+     * @return boolean TRUE will break the processing; FALSE continue with the next plugin; integer set a new index and
859 859
      *                              break the processing
860 860
      */
861 861
     public function parse($index, $char, $previousChar, $state)
@@ -1021,8 +1021,8 @@  discard block
 block discarded – undo
1021 1021
     /**
1022 1022
      * Set the properties of a ruleset token.
1023 1023
      *
1024
-     * @param array $selectors Selectors of the ruleset
1025
-     * @return void
1024
+     * @param string[] $selectors Selectors of the ruleset
1025
+     * @return aCssToken
1026 1026
      */
1027 1027
     public function __construct(array $selectors = [])
1028 1028
     {
@@ -1058,7 +1058,7 @@  discard block
 block discarded – undo
1058 1058
     /**
1059 1059
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
1060 1060
      *
1061
-     * @return array
1061
+     * @return string[]
1062 1062
      */
1063 1063
     public function getTriggerChars()
1064 1064
     {
@@ -1068,7 +1068,7 @@  discard block
 block discarded – undo
1068 1068
     /**
1069 1069
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
1070 1070
      *
1071
-     * @return array
1071
+     * @return string[]
1072 1072
      */
1073 1073
     public function getTriggerStates()
1074 1074
     {
@@ -1088,7 +1088,7 @@  discard block
 block discarded – undo
1088 1088
      * @param integer $index        Current index
1089 1089
      * @param string  $char         Current char
1090 1090
      * @param string  $previousChar Previous char
1091
-     * @return mixed TRUE will break the processing; FALSE continue with the next plugin; integer set a new index and
1091
+     * @return boolean TRUE will break the processing; FALSE continue with the next plugin; integer set a new index and
1092 1092
      *                              break the processing
1093 1093
      */
1094 1094
     public function parse($index, $char, $previousChar, $state)
@@ -1197,7 +1197,7 @@  discard block
 block discarded – undo
1197 1197
      * @param mixed   $mediaTypes  Media types of the declaration
1198 1198
      * @param boolean $isImportant Is the !important flag is set
1199 1199
      * @param boolean $isLast      Is the declaration the last one of the ruleset
1200
-     * @return void
1200
+     * @return aCssToken
1201 1201
      */
1202 1202
     public function __construct($property, $value, $mediaTypes = null, $isImportant = false, $isLast = false)
1203 1203
     {
@@ -1554,7 +1554,6 @@  discard block
 block discarded – undo
1554 1554
     /**
1555 1555
      * Returns a plugin by class name.
1556 1556
      *
1557
-     * @param string $name Class name of the plugin
1558 1557
      * @return aCssParserPlugin
1559 1558
      */
1560 1559
     public function getPlugin($class)
@@ -2004,7 +2003,7 @@  discard block
 block discarded – undo
2004 2003
     /**
2005 2004
      * Returns a plugin by class name.
2006 2005
      *
2007
-     * @param string $name Class name of the plugin
2006
+     * @param string $class
2008 2007
      * @return aCssMinifierPlugin
2009 2008
      */
2010 2009
     public function getPlugin($class)
@@ -2481,7 +2480,7 @@  discard block
 block discarded – undo
2481 2480
     /**
2482 2481
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
2483 2482
      *
2484
-     * @return array
2483
+     * @return string[]
2485 2484
      */
2486 2485
     public function getTriggerChars()
2487 2486
     {
@@ -2491,7 +2490,7 @@  discard block
 block discarded – undo
2491 2490
     /**
2492 2491
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
2493 2492
      *
2494
-     * @return array
2493
+     * @return boolean
2495 2494
      */
2496 2495
     public function getTriggerStates()
2497 2496
     {
@@ -2577,7 +2576,9 @@  discard block
 block discarded – undo
2577 2576
      *
2578 2577
      * @param string $message Error message
2579 2578
      * @param string $source  Corresponding line [optional]
2580
-     * @return void
2579
+     * @param string $file
2580
+     * @param integer $line
2581
+     * @return CssError
2581 2582
      */
2582 2583
     public function __construct($file, $line, $message, $source = "")
2583 2584
     {
@@ -2652,7 +2653,7 @@  discard block
 block discarded – undo
2652 2653
     /**
2653 2654
      * Implements {@link aMinifierPlugin::getTriggerTokens()}
2654 2655
      *
2655
-     * @return array
2656
+     * @return string[]
2656 2657
      */
2657 2658
     public function getTriggerTokens()
2658 2659
     {
@@ -2885,7 +2886,7 @@  discard block
 block discarded – undo
2885 2886
     /**
2886 2887
      * Implements {@link aMinifierPlugin::getTriggerTokens()}
2887 2888
      *
2888
-     * @return array
2889
+     * @return string[]
2889 2890
      */
2890 2891
     public function getTriggerTokens()
2891 2892
     {
@@ -3212,7 +3213,7 @@  discard block
 block discarded – undo
3212 3213
      * declaratiopn property "-ms-filter".
3213 3214
      *
3214 3215
      * @param aCssToken $token
3215
-     * @return array
3216
+     * @return CssRulesetDeclarationToken[]
3216 3217
      */
3217 3218
     private static function filter($token)
3218 3219
     {
@@ -3227,7 +3228,7 @@  discard block
 block discarded – undo
3227 3228
      * Transforms "opacity: {value}" into browser specific counterparts.
3228 3229
      *
3229 3230
      * @param aCssToken $token
3230
-     * @return array
3231
+     * @return CssRulesetDeclarationToken[]
3231 3232
      */
3232 3233
     private static function opacity($token)
3233 3234
     {
@@ -3380,7 +3381,7 @@  discard block
 block discarded – undo
3380 3381
     /**
3381 3382
      * Implements {@link aMinifierPlugin::getTriggerTokens()}
3382 3383
      *
3383
-     * @return array
3384
+     * @return string[]
3384 3385
      */
3385 3386
     public function getTriggerTokens()
3386 3387
     {
@@ -3546,7 +3547,7 @@  discard block
 block discarded – undo
3546 3547
     /**
3547 3548
      * Implements {@link aMinifierPlugin::getTriggerTokens()}
3548 3549
      *
3549
-     * @return array
3550
+     * @return string[]
3550 3551
      */
3551 3552
     public function getTriggerTokens()
3552 3553
     {
@@ -3623,7 +3624,7 @@  discard block
 block discarded – undo
3623 3624
     /**
3624 3625
      * Implements {@link aMinifierPlugin::getTriggerTokens()}
3625 3626
      *
3626
-     * @return array
3627
+     * @return string[]
3627 3628
      */
3628 3629
     public function getTriggerTokens()
3629 3630
     {
@@ -3671,7 +3672,7 @@  discard block
 block discarded – undo
3671 3672
     /**
3672 3673
      * Implements {@link aMinifierPlugin::getTriggerTokens()}
3673 3674
      *
3674
-     * @return array
3675
+     * @return string[]
3675 3676
      */
3676 3677
     public function getTriggerTokens()
3677 3678
     {
@@ -3734,7 +3735,7 @@  discard block
 block discarded – undo
3734 3735
     /**
3735 3736
      * Implements {@link aMinifierPlugin::getTriggerTokens()}
3736 3737
      *
3737
-     * @return array
3738
+     * @return string[]
3738 3739
      */
3739 3740
     public function getTriggerTokens()
3740 3741
     {
@@ -3769,7 +3770,7 @@  discard block
 block discarded – undo
3769 3770
      * Set the properties of a comment token.
3770 3771
      *
3771 3772
      * @param string $comment Comment including comment delimiters
3772
-     * @return void
3773
+     * @return aCssToken
3773 3774
      */
3774 3775
     public function __construct($comment)
3775 3776
     {
@@ -3804,7 +3805,7 @@  discard block
 block discarded – undo
3804 3805
     /**
3805 3806
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
3806 3807
      *
3807
-     * @return array
3808
+     * @return string[]
3808 3809
      */
3809 3810
     public function getTriggerChars()
3810 3811
     {
@@ -3814,7 +3815,7 @@  discard block
 block discarded – undo
3814 3815
     /**
3815 3816
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
3816 3817
      *
3817
-     * @return array
3818
+     * @return boolean
3818 3819
      */
3819 3820
     public function getTriggerStates()
3820 3821
     {
@@ -3834,7 +3835,7 @@  discard block
 block discarded – undo
3834 3835
      * @param integer $index        Current index
3835 3836
      * @param string  $char         Current char
3836 3837
      * @param string  $previousChar Previous char
3837
-     * @return mixed TRUE will break the processing; FALSE continue with the next plugin; integer set a new index and
3838
+     * @return boolean TRUE will break the processing; FALSE continue with the next plugin; integer set a new index and
3838 3839
      *                              break the processing
3839 3840
      */
3840 3841
     public function parse($index, $char, $previousChar, $state)
@@ -3879,7 +3880,7 @@  discard block
 block discarded – undo
3879 3880
      * Set the properties of a @variables at-rule token.
3880 3881
      *
3881 3882
      * @param array $mediaTypes Media types
3882
-     * @return void
3883
+     * @return aCssToken
3883 3884
      */
3884 3885
     public function __construct($mediaTypes = null)
3885 3886
     {
@@ -3915,7 +3916,7 @@  discard block
 block discarded – undo
3915 3916
     /**
3916 3917
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
3917 3918
      *
3918
-     * @return array
3919
+     * @return string[]
3919 3920
      */
3920 3921
     public function getTriggerChars()
3921 3922
     {
@@ -3925,7 +3926,7 @@  discard block
 block discarded – undo
3925 3926
     /**
3926 3927
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
3927 3928
      *
3928
-     * @return array
3929
+     * @return string[]
3929 3930
      */
3930 3931
     public function getTriggerStates()
3931 3932
     {
@@ -4063,7 +4064,7 @@  discard block
 block discarded – undo
4063 4064
      * Sets the properties of the @page at-rule.
4064 4065
      *
4065 4066
      * @param string $selector Selector
4066
-     * @return void
4067
+     * @return aCssToken
4067 4068
      */
4068 4069
     public function __construct($selector = "")
4069 4070
     {
@@ -4099,7 +4100,7 @@  discard block
 block discarded – undo
4099 4100
     /**
4100 4101
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
4101 4102
      *
4102
-     * @return array
4103
+     * @return string[]
4103 4104
      */
4104 4105
     public function getTriggerChars()
4105 4106
     {
@@ -4109,7 +4110,7 @@  discard block
 block discarded – undo
4109 4110
     /**
4110 4111
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
4111 4112
      *
4112
-     * @return array
4113
+     * @return string[]
4113 4114
      */
4114 4115
     public function getTriggerStates()
4115 4116
     {
@@ -4229,7 +4230,7 @@  discard block
 block discarded – undo
4229 4230
      * Sets the properties of the @media at-rule.
4230 4231
      *
4231 4232
      * @param array $mediaTypes Media types
4232
-     * @return void
4233
+     * @return aCssToken
4233 4234
      */
4234 4235
     public function __construct(array $mediaTypes = [])
4235 4236
     {
@@ -4266,7 +4267,7 @@  discard block
 block discarded – undo
4266 4267
     /**
4267 4268
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
4268 4269
      *
4269
-     * @return array
4270
+     * @return string[]
4270 4271
      */
4271 4272
     public function getTriggerChars()
4272 4273
     {
@@ -4276,7 +4277,7 @@  discard block
 block discarded – undo
4276 4277
     /**
4277 4278
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
4278 4279
      *
4279
-     * @return array
4280
+     * @return string[]
4280 4281
      */
4281 4282
     public function getTriggerStates()
4282 4283
     {
@@ -4362,8 +4363,9 @@  discard block
 block discarded – undo
4362 4363
     /**
4363 4364
      * Sets the properties of the @page at-rule.
4364 4365
      *
4365
-     * @param string $selector Selector
4366
-     * @return void
4366
+     * @param string $name
4367
+     * @param string $atRuleName
4368
+     * @return aCssToken
4367 4369
      */
4368 4370
     public function __construct($name, $atRuleName = null)
4369 4371
     {
@@ -4406,8 +4408,8 @@  discard block
 block discarded – undo
4406 4408
     /**
4407 4409
      * Set the properties of a ruleset token.
4408 4410
      *
4409
-     * @param array $selectors Selectors of the ruleset
4410
-     * @return void
4411
+     * @param string[] $selectors Selectors of the ruleset
4412
+     * @return aCssToken
4411 4413
      */
4412 4414
     public function __construct(array $selectors = [])
4413 4415
     {
@@ -4481,7 +4483,7 @@  discard block
 block discarded – undo
4481 4483
     /**
4482 4484
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
4483 4485
      *
4484
-     * @return array
4486
+     * @return string[]
4485 4487
      */
4486 4488
     public function getTriggerChars()
4487 4489
     {
@@ -4491,7 +4493,7 @@  discard block
 block discarded – undo
4491 4493
     /**
4492 4494
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
4493 4495
      *
4494
-     * @return array
4496
+     * @return string[]
4495 4497
      */
4496 4498
     public function getTriggerStates()
4497 4499
     {
@@ -4655,7 +4657,7 @@  discard block
 block discarded – undo
4655 4657
      *
4656 4658
      * @param string $import     Import path
4657 4659
      * @param array  $mediaTypes Media types
4658
-     * @return void
4660
+     * @return aCssToken
4659 4661
      */
4660 4662
     public function __construct($import, $mediaTypes)
4661 4663
     {
@@ -4692,7 +4694,7 @@  discard block
 block discarded – undo
4692 4694
     /**
4693 4695
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
4694 4696
      *
4695
-     * @return array
4697
+     * @return string[]
4696 4698
      */
4697 4699
     public function getTriggerChars()
4698 4700
     {
@@ -4702,7 +4704,7 @@  discard block
 block discarded – undo
4702 4704
     /**
4703 4705
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
4704 4706
      *
4705
-     * @return array
4707
+     * @return string[]
4706 4708
      */
4707 4709
     public function getTriggerStates()
4708 4710
     {
@@ -4798,7 +4800,7 @@  discard block
 block discarded – undo
4798 4800
     /**
4799 4801
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
4800 4802
      *
4801
-     * @return array
4803
+     * @return string[]
4802 4804
      */
4803 4805
     public function getTriggerChars()
4804 4806
     {
@@ -4808,7 +4810,7 @@  discard block
 block discarded – undo
4808 4810
     /**
4809 4811
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
4810 4812
      *
4811
-     * @return array
4813
+     * @return string[]
4812 4814
      */
4813 4815
     public function getTriggerStates()
4814 4816
     {
@@ -4934,7 +4936,7 @@  discard block
 block discarded – undo
4934 4936
      * Set the properties of @charset at-rule token.
4935 4937
      *
4936 4938
      * @param string $charset Charset of the @charset at-rule token
4937
-     * @return void
4939
+     * @return aCssToken
4938 4940
      */
4939 4941
     public function __construct($charset)
4940 4942
     {
@@ -4969,7 +4971,7 @@  discard block
 block discarded – undo
4969 4971
     /**
4970 4972
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
4971 4973
      *
4972
-     * @return array
4974
+     * @return string[]
4973 4975
      */
4974 4976
     public function getTriggerChars()
4975 4977
     {
@@ -4979,7 +4981,7 @@  discard block
 block discarded – undo
4979 4981
     /**
4980 4982
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
4981 4983
      *
4982
-     * @return array
4984
+     * @return string[]
4983 4985
      */
4984 4986
     public function getTriggerStates()
4985 4987
     {
Please login to merge, or discard this patch.
lib/Ajde/Social/Provider/Google/Google/Client.php 1 patch
Doc Comments   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -108,6 +108,7 @@  discard block
 block discarded – undo
108 108
 
109 109
     /**
110 110
      * Adds the scopes available for a service
111
+     * @param string $service
111 112
      */
112 113
     public function addService($service, $version = false, $availableScopes = [])
113 114
     {
@@ -178,7 +179,7 @@  discard block
 block discarded – undo
178 179
     }
179 180
 
180 181
     /**
181
-     * @return array
182
+     * @return string
182 183
      * @visible For Testing
183 184
      */
184 185
     public function prepareScopes()
@@ -223,7 +224,6 @@  discard block
 block discarded – undo
223 224
     /**
224 225
      * Set the IO object
225 226
      *
226
-     * @param Google_Io_Abstract $auth
227 227
      */
228 228
     public function setIo(Google_Io_Abstract $io)
229 229
     {
@@ -234,7 +234,6 @@  discard block
 block discarded – undo
234 234
     /**
235 235
      * Set the Cache object
236 236
      *
237
-     * @param Google_Cache_Abstract $auth
238 237
      */
239 238
     public function setCache(Google_Cache_Abstract $cache)
240 239
     {
@@ -425,7 +424,7 @@  discard block
 block discarded – undo
425 424
      * @param $required_audience the expected consumer of the token
426 425
      * @param [$issuer] the expected issues, defaults to Google
427 426
      * @param [$max_expiry] the max lifetime of a token, defaults to MAX_TOKEN_LIFETIME_SECS
428
-     * @return token information if valid, false if not
427
+     * @return Google_Auth_LoginTicket information if valid, false if not
429 428
      */
430 429
     public function verifySignedJwt($id_token, $cert_location, $audience, $issuer, $max_expiry = null)
431 430
     {
@@ -449,7 +448,7 @@  discard block
 block discarded – undo
449 448
      * so that you can ask for more or less permission in the auth flow
450 449
      * Set this before you call authenticate() though!
451 450
      *
452
-     * @param array $scopes , ie: array('https://www.googleapis.com/auth/plus.me',
451
+     * @param string $scopes , ie: array('https://www.googleapis.com/auth/plus.me',
453 452
      *                      'https://www.googleapis.com/auth/moderator')
454 453
      */
455 454
     public function setScopes($scopes)
@@ -545,7 +544,7 @@  discard block
 block discarded – undo
545 544
      * Retrieve custom configuration for a specific class.
546 545
      *
547 546
      * @param $class string|object - class or instance of class to retrieve
548
-     * @param $key   string optional - key to retrieve
547
+     * @param string $key   string optional - key to retrieve
549 548
      */
550 549
     public function getClassConfig($class, $key = null)
551 550
     {
Please login to merge, or discard this patch.