Completed
Push — master ( 470825...143e87 )
by Joram van den
06:11
created
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 bool
11
+     * @return null|boolean
12 12
      */
13 13
     public function beforeInvoke($allowed = [])
14 14
     {
Please login to merge, or discard this patch.
lib/Ajde/Crud/Options/List.php 1 patch
Doc Comments   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@  discard block
 block discarded – undo
37 37
     /**
38 38
      * Set fieldname to set as main column in listview.
39 39
      *
40
-     * @param string $main
41 40
      *
41
+     * @param string $fieldname
42 42
      * @return Ajde_Crud_Options_List
43 43
      */
44 44
     public function setMain($fieldname)
@@ -97,7 +97,6 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * Enables the export button.
99 99
      *
100
-     * @param bool $show
101 100
      *
102 101
      * @return Ajde_Crud_Options_List
103 102
      */
@@ -133,7 +132,7 @@  discard block
 block discarded – undo
133 132
     /**
134 133
      * Sets which fields to show.
135 134
      *
136
-     * @param array $fields
135
+     * @param string[] $fields
137 136
      *
138 137
      * @return Ajde_Crud_Options_List
139 138
      */
@@ -145,7 +144,6 @@  discard block
 block discarded – undo
145 144
     /**
146 145
      * Sets a function which generates the row class.
147 146
      *
148
-     * @param array $fields
149 147
      *
150 148
      * @return Ajde_Crud_Options_List
151 149
      */
@@ -169,8 +167,8 @@  discard block
 block discarded – undo
169 167
     /**
170 168
      * Sets thumbnail dimensions of images.
171 169
      *
172
-     * @param type $width
173
-     * @param type $height
170
+     * @param integer $width
171
+     * @param integer $height
174 172
      *
175 173
      * @return Ajde_Crud_Options_List
176 174
      */
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
@@ -93,8 +93,8 @@  discard block
 block discarded – undo
93 93
     /**
94 94
      * Adds a custom button for every item in the list.
95 95
      *
96
-     * @param name   $name       Identifier of the button
97
-     * @param text   $text       Text to display
96
+     * @param string   $name       Identifier of the button
97
+     * @param string   $text       Text to display
98 98
      * @param string $class      Optional classname to add
99 99
      * @param bool   $persistent Don't fold button
100 100
      * @param bool   $function   Call model function defined in $text (return false to omit button)
@@ -123,8 +123,6 @@  discard block
 block discarded – undo
123 123
      * Adds a custom button for every item in the list.
124 124
      *
125 125
      * @param name $name  Identifier of the button
126
-     * @param text $text  Text to display
127
-     * @param type $class Optional classname to add
128 126
      *
129 127
      * @return Ajde_Crud_Options_List_Buttons
130 128
      */
Please login to merge, or discard this patch.
lib/Ajde/Exception/Handler.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     }
37 37
 
38 38
     /**
39
-     * @param Throwable $exception
39
+     * @param Exception $exception
40 40
      */
41 41
     public static function handler($exception)
42 42
     {
@@ -289,6 +289,9 @@  discard block
 block discarded – undo
289 289
 
290 290
     public static $firstApplicationFileExpanded = false;
291 291
 
292
+    /**
293
+     * @param string $arguments
294
+     */
292 295
     protected static function embedScript($filename = null, $line = null, $arguments = null, $expand = false)
293 296
     {
294 297
         $lineOffset = 5;
Please login to merge, or discard this patch.
lib/Ajde/Mailer/class.smtp.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -857,7 +857,7 @@
 block discarded – undo
857 857
     /**
858 858
      * Get the latest error.
859 859
      *
860
-     * @return array
860
+     * @return string
861 861
      */
862 862
     public function getError()
863 863
     {
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
@@ -406,9 +406,9 @@  discard block
 block discarded – undo
406 406
      * @param string $property    Property of the declaration
407 407
      * @param string $value       Value of the declaration
408 408
      * @param bool   $isImportant Is the !important flag is set?
409
-     * @param bool   $IsLast      Is the declaration the last one of the block?
409
+     * @param bool   $isLast      Is the declaration the last one of the block?
410 410
      *
411
-     * @return void
411
+     * @return aCssToken
412 412
      */
413 413
     public function __construct($property, $value, $isImportant = false, $isLast = false)
414 414
     {
@@ -648,7 +648,7 @@  discard block
 block discarded – undo
648 648
     /**
649 649
      * Implements {@link aMinifierPlugin::getTriggerTokens()}.
650 650
      *
651
-     * @return array
651
+     * @return string[]
652 652
      */
653 653
     public function getTriggerTokens()
654 654
     {
@@ -773,7 +773,7 @@  discard block
 block discarded – undo
773 773
     /**
774 774
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
775 775
      *
776
-     * @return array
776
+     * @return string[]
777 777
      */
778 778
     public function getTriggerChars()
779 779
     {
@@ -783,7 +783,7 @@  discard block
 block discarded – undo
783 783
     /**
784 784
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
785 785
      *
786
-     * @return array
786
+     * @return boolean
787 787
      */
788 788
     public function getTriggerStates()
789 789
     {
@@ -797,7 +797,7 @@  discard block
 block discarded – undo
797 797
      * @param string $char         Current char
798 798
      * @param string $previousChar Previous char
799 799
      *
800
-     * @return mixed TRUE will break the processing; FALSE continue with the next plugin; integer set a new index and
800
+     * @return boolean TRUE will break the processing; FALSE continue with the next plugin; integer set a new index and
801 801
      *               break the processing
802 802
      */
803 803
     public function parse($index, $char, $previousChar, $state)
@@ -857,7 +857,7 @@  discard block
 block discarded – undo
857 857
     /**
858 858
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
859 859
      *
860
-     * @return array
860
+     * @return string[]
861 861
      */
862 862
     public function getTriggerChars()
863 863
     {
@@ -867,7 +867,7 @@  discard block
 block discarded – undo
867 867
     /**
868 868
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
869 869
      *
870
-     * @return array
870
+     * @return boolean
871 871
      */
872 872
     public function getTriggerStates()
873 873
     {
@@ -881,7 +881,7 @@  discard block
 block discarded – undo
881 881
      * @param string $char         Current char
882 882
      * @param string $previousChar Previous char
883 883
      *
884
-     * @return mixed TRUE will break the processing; FALSE continue with the next plugin; integer set a new index and
884
+     * @return boolean TRUE will break the processing; FALSE continue with the next plugin; integer set a new index and
885 885
      *               break the processing
886 886
      */
887 887
     public function parse($index, $char, $previousChar, $state)
@@ -1050,9 +1050,9 @@  discard block
 block discarded – undo
1050 1050
     /**
1051 1051
      * Set the properties of a ruleset token.
1052 1052
      *
1053
-     * @param array $selectors Selectors of the ruleset
1053
+     * @param string[] $selectors Selectors of the ruleset
1054 1054
      *
1055
-     * @return void
1055
+     * @return aCssToken
1056 1056
      */
1057 1057
     public function __construct(array $selectors = [])
1058 1058
     {
@@ -1089,7 +1089,7 @@  discard block
 block discarded – undo
1089 1089
     /**
1090 1090
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
1091 1091
      *
1092
-     * @return array
1092
+     * @return string[]
1093 1093
      */
1094 1094
     public function getTriggerChars()
1095 1095
     {
@@ -1099,7 +1099,7 @@  discard block
 block discarded – undo
1099 1099
     /**
1100 1100
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
1101 1101
      *
1102
-     * @return array
1102
+     * @return string[]
1103 1103
      */
1104 1104
     public function getTriggerStates()
1105 1105
     {
@@ -1120,7 +1120,7 @@  discard block
 block discarded – undo
1120 1120
      * @param string $char         Current char
1121 1121
      * @param string $previousChar Previous char
1122 1122
      *
1123
-     * @return mixed TRUE will break the processing; FALSE continue with the next plugin; integer set a new index and
1123
+     * @return boolean TRUE will break the processing; FALSE continue with the next plugin; integer set a new index and
1124 1124
      *               break the processing
1125 1125
      */
1126 1126
     public function parse($index, $char, $previousChar, $state)
@@ -1231,7 +1231,7 @@  discard block
 block discarded – undo
1231 1231
      * @param bool   $isImportant Is the !important flag is set
1232 1232
      * @param bool   $isLast      Is the declaration the last one of the ruleset
1233 1233
      *
1234
-     * @return void
1234
+     * @return aCssToken
1235 1235
      */
1236 1236
     public function __construct($property, $value, $mediaTypes = null, $isImportant = false, $isLast = false)
1237 1237
     {
@@ -1601,7 +1601,6 @@  discard block
 block discarded – undo
1601 1601
     /**
1602 1602
      * Returns a plugin by class name.
1603 1603
      *
1604
-     * @param string $name Class name of the plugin
1605 1604
      *
1606 1605
      * @return aCssParserPlugin
1607 1606
      */
@@ -2062,8 +2061,8 @@  discard block
 block discarded – undo
2062 2061
     /**
2063 2062
      * Returns a plugin by class name.
2064 2063
      *
2065
-     * @param string $name Class name of the plugin
2066 2064
      *
2065
+     * @param string $class
2067 2066
      * @return aCssMinifierPlugin
2068 2067
      */
2069 2068
     public function getPlugin($class)
@@ -2550,7 +2549,7 @@  discard block
 block discarded – undo
2550 2549
     /**
2551 2550
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
2552 2551
      *
2553
-     * @return array
2552
+     * @return string[]
2554 2553
      */
2555 2554
     public function getTriggerChars()
2556 2555
     {
@@ -2560,7 +2559,7 @@  discard block
 block discarded – undo
2560 2559
     /**
2561 2560
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
2562 2561
      *
2563
-     * @return array
2562
+     * @return boolean
2564 2563
      */
2565 2564
     public function getTriggerStates()
2566 2565
     {
@@ -2648,8 +2647,10 @@  discard block
 block discarded – undo
2648 2647
      *
2649 2648
      * @param string $message Error message
2650 2649
      * @param string $source  Corresponding line [optional]
2650
+     * @param string $file
2651
+     * @param integer $line
2651 2652
      *
2652
-     * @return void
2653
+     * @return CssError
2653 2654
      */
2654 2655
     public function __construct($file, $line, $message, $source = '')
2655 2656
     {
@@ -2726,7 +2727,7 @@  discard block
 block discarded – undo
2726 2727
     /**
2727 2728
      * Implements {@link aMinifierPlugin::getTriggerTokens()}.
2728 2729
      *
2729
-     * @return array
2730
+     * @return string[]
2730 2731
      */
2731 2732
     public function getTriggerTokens()
2732 2733
     {
@@ -2961,7 +2962,7 @@  discard block
 block discarded – undo
2961 2962
     /**
2962 2963
      * Implements {@link aMinifierPlugin::getTriggerTokens()}.
2963 2964
      *
2964
-     * @return array
2965
+     * @return string[]
2965 2966
      */
2966 2967
     public function getTriggerTokens()
2967 2968
     {
@@ -3291,7 +3292,7 @@  discard block
 block discarded – undo
3291 3292
      *
3292 3293
      * @param aCssToken $token
3293 3294
      *
3294
-     * @return array
3295
+     * @return CssRulesetDeclarationToken[]
3295 3296
      */
3296 3297
     private static function filter($token)
3297 3298
     {
@@ -3307,7 +3308,7 @@  discard block
 block discarded – undo
3307 3308
      *
3308 3309
      * @param aCssToken $token
3309 3310
      *
3310
-     * @return array
3311
+     * @return CssRulesetDeclarationToken[]
3311 3312
      */
3312 3313
     private static function opacity($token)
3313 3314
     {
@@ -3465,7 +3466,7 @@  discard block
 block discarded – undo
3465 3466
     /**
3466 3467
      * Implements {@link aMinifierPlugin::getTriggerTokens()}.
3467 3468
      *
3468
-     * @return array
3469
+     * @return string[]
3469 3470
      */
3470 3471
     public function getTriggerTokens()
3471 3472
     {
@@ -3636,7 +3637,7 @@  discard block
 block discarded – undo
3636 3637
     /**
3637 3638
      * Implements {@link aMinifierPlugin::getTriggerTokens()}.
3638 3639
      *
3639
-     * @return array
3640
+     * @return string[]
3640 3641
      */
3641 3642
     public function getTriggerTokens()
3642 3643
     {
@@ -3715,7 +3716,7 @@  discard block
 block discarded – undo
3715 3716
     /**
3716 3717
      * Implements {@link aMinifierPlugin::getTriggerTokens()}.
3717 3718
      *
3718
-     * @return array
3719
+     * @return string[]
3719 3720
      */
3720 3721
     public function getTriggerTokens()
3721 3722
     {
@@ -3765,7 +3766,7 @@  discard block
 block discarded – undo
3765 3766
     /**
3766 3767
      * Implements {@link aMinifierPlugin::getTriggerTokens()}.
3767 3768
      *
3768
-     * @return array
3769
+     * @return string[]
3769 3770
      */
3770 3771
     public function getTriggerTokens()
3771 3772
     {
@@ -3830,7 +3831,7 @@  discard block
 block discarded – undo
3830 3831
     /**
3831 3832
      * Implements {@link aMinifierPlugin::getTriggerTokens()}.
3832 3833
      *
3833
-     * @return array
3834
+     * @return string[]
3834 3835
      */
3835 3836
     public function getTriggerTokens()
3836 3837
     {
@@ -3867,7 +3868,7 @@  discard block
 block discarded – undo
3867 3868
      *
3868 3869
      * @param string $comment Comment including comment delimiters
3869 3870
      *
3870
-     * @return void
3871
+     * @return aCssToken
3871 3872
      */
3872 3873
     public function __construct($comment)
3873 3874
     {
@@ -3903,7 +3904,7 @@  discard block
 block discarded – undo
3903 3904
     /**
3904 3905
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
3905 3906
      *
3906
-     * @return array
3907
+     * @return string[]
3907 3908
      */
3908 3909
     public function getTriggerChars()
3909 3910
     {
@@ -3913,7 +3914,7 @@  discard block
 block discarded – undo
3913 3914
     /**
3914 3915
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
3915 3916
      *
3916
-     * @return array
3917
+     * @return boolean
3917 3918
      */
3918 3919
     public function getTriggerStates()
3919 3920
     {
@@ -3934,7 +3935,7 @@  discard block
 block discarded – undo
3934 3935
      * @param string $char         Current char
3935 3936
      * @param string $previousChar Previous char
3936 3937
      *
3937
-     * @return mixed TRUE will break the processing; FALSE continue with the next plugin; integer set a new index and
3938
+     * @return boolean TRUE will break the processing; FALSE continue with the next plugin; integer set a new index and
3938 3939
      *               break the processing
3939 3940
      */
3940 3941
     public function parse($index, $char, $previousChar, $state)
@@ -3981,7 +3982,7 @@  discard block
 block discarded – undo
3981 3982
      *
3982 3983
      * @param array $mediaTypes Media types
3983 3984
      *
3984
-     * @return void
3985
+     * @return aCssToken
3985 3986
      */
3986 3987
     public function __construct($mediaTypes = null)
3987 3988
     {
@@ -4018,7 +4019,7 @@  discard block
 block discarded – undo
4018 4019
     /**
4019 4020
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
4020 4021
      *
4021
-     * @return array
4022
+     * @return string[]
4022 4023
      */
4023 4024
     public function getTriggerChars()
4024 4025
     {
@@ -4028,7 +4029,7 @@  discard block
 block discarded – undo
4028 4029
     /**
4029 4030
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
4030 4031
      *
4031
-     * @return array
4032
+     * @return string[]
4032 4033
      */
4033 4034
     public function getTriggerStates()
4034 4035
     {
@@ -4171,7 +4172,7 @@  discard block
 block discarded – undo
4171 4172
      *
4172 4173
      * @param string $selector Selector
4173 4174
      *
4174
-     * @return void
4175
+     * @return aCssToken
4175 4176
      */
4176 4177
     public function __construct($selector = '')
4177 4178
     {
@@ -4208,7 +4209,7 @@  discard block
 block discarded – undo
4208 4209
     /**
4209 4210
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
4210 4211
      *
4211
-     * @return array
4212
+     * @return string[]
4212 4213
      */
4213 4214
     public function getTriggerChars()
4214 4215
     {
@@ -4218,7 +4219,7 @@  discard block
 block discarded – undo
4218 4219
     /**
4219 4220
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
4220 4221
      *
4221
-     * @return array
4222
+     * @return string[]
4222 4223
      */
4223 4224
     public function getTriggerStates()
4224 4225
     {
@@ -4341,7 +4342,7 @@  discard block
 block discarded – undo
4341 4342
      *
4342 4343
      * @param array $mediaTypes Media types
4343 4344
      *
4344
-     * @return void
4345
+     * @return aCssToken
4345 4346
      */
4346 4347
     public function __construct(array $mediaTypes = [])
4347 4348
     {
@@ -4379,7 +4380,7 @@  discard block
 block discarded – undo
4379 4380
     /**
4380 4381
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
4381 4382
      *
4382
-     * @return array
4383
+     * @return string[]
4383 4384
      */
4384 4385
     public function getTriggerChars()
4385 4386
     {
@@ -4389,7 +4390,7 @@  discard block
 block discarded – undo
4389 4390
     /**
4390 4391
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
4391 4392
      *
4392
-     * @return array
4393
+     * @return string[]
4393 4394
      */
4394 4395
     public function getTriggerStates()
4395 4396
     {
@@ -4477,9 +4478,10 @@  discard block
 block discarded – undo
4477 4478
     /**
4478 4479
      * Sets the properties of the @page at-rule.
4479 4480
      *
4480
-     * @param string $selector Selector
4481 4481
      *
4482
-     * @return void
4482
+     * @param string $name
4483
+     * @param string $atRuleName
4484
+     * @return aCssToken
4483 4485
      */
4484 4486
     public function __construct($name, $atRuleName = null)
4485 4487
     {
@@ -4523,9 +4525,9 @@  discard block
 block discarded – undo
4523 4525
     /**
4524 4526
      * Set the properties of a ruleset token.
4525 4527
      *
4526
-     * @param array $selectors Selectors of the ruleset
4528
+     * @param string[] $selectors Selectors of the ruleset
4527 4529
      *
4528
-     * @return void
4530
+     * @return aCssToken
4529 4531
      */
4530 4532
     public function __construct(array $selectors = [])
4531 4533
     {
@@ -4600,7 +4602,7 @@  discard block
 block discarded – undo
4600 4602
     /**
4601 4603
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
4602 4604
      *
4603
-     * @return array
4605
+     * @return string[]
4604 4606
      */
4605 4607
     public function getTriggerChars()
4606 4608
     {
@@ -4610,7 +4612,7 @@  discard block
 block discarded – undo
4610 4612
     /**
4611 4613
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
4612 4614
      *
4613
-     * @return array
4615
+     * @return string[]
4614 4616
      */
4615 4617
     public function getTriggerStates()
4616 4618
     {
@@ -4777,7 +4779,7 @@  discard block
 block discarded – undo
4777 4779
      * @param string $import     Import path
4778 4780
      * @param array  $mediaTypes Media types
4779 4781
      *
4780
-     * @return void
4782
+     * @return aCssToken
4781 4783
      */
4782 4784
     public function __construct($import, $mediaTypes)
4783 4785
     {
@@ -4815,7 +4817,7 @@  discard block
 block discarded – undo
4815 4817
     /**
4816 4818
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
4817 4819
      *
4818
-     * @return array
4820
+     * @return string[]
4819 4821
      */
4820 4822
     public function getTriggerChars()
4821 4823
     {
@@ -4825,7 +4827,7 @@  discard block
 block discarded – undo
4825 4827
     /**
4826 4828
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
4827 4829
      *
4828
-     * @return array
4830
+     * @return string[]
4829 4831
      */
4830 4832
     public function getTriggerStates()
4831 4833
     {
@@ -4924,7 +4926,7 @@  discard block
 block discarded – undo
4924 4926
     /**
4925 4927
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
4926 4928
      *
4927
-     * @return array
4929
+     * @return string[]
4928 4930
      */
4929 4931
     public function getTriggerChars()
4930 4932
     {
@@ -4934,7 +4936,7 @@  discard block
 block discarded – undo
4934 4936
     /**
4935 4937
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
4936 4938
      *
4937
-     * @return array
4939
+     * @return string[]
4938 4940
      */
4939 4941
     public function getTriggerStates()
4940 4942
     {
@@ -5063,7 +5065,7 @@  discard block
 block discarded – undo
5063 5065
      *
5064 5066
      * @param string $charset Charset of the @charset at-rule token
5065 5067
      *
5066
-     * @return void
5068
+     * @return aCssToken
5067 5069
      */
5068 5070
     public function __construct($charset)
5069 5071
     {
@@ -5099,7 +5101,7 @@  discard block
 block discarded – undo
5099 5101
     /**
5100 5102
      * Implements {@link aCssParserPlugin::getTriggerChars()}.
5101 5103
      *
5102
-     * @return array
5104
+     * @return string[]
5103 5105
      */
5104 5106
     public function getTriggerChars()
5105 5107
     {
@@ -5109,7 +5111,7 @@  discard block
 block discarded – undo
5109 5111
     /**
5110 5112
      * Implements {@link aCssParserPlugin::getTriggerStates()}.
5111 5113
      *
5112
-     * @return array
5114
+     * @return string[]
5113 5115
      */
5114 5116
     public function getTriggerStates()
5115 5117
     {
Please login to merge, or discard this patch.