Completed
Push — developer ( f778f3...8830e0 )
by Błażej
51:25 queued 38:36
created
modules/Settings/ModuleManager/models/Library.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
 	 *
96 96
 	 * @throws \Exception\NoPermitted
97 97
 	 *
98
-	 * @return bool
98
+	 * @return boolean|null
99 99
 	 */
100 100
 	public static function download($name)
101 101
 	{
Please login to merge, or discard this patch.
vtlib/Vtiger/PackageImport.php 2 patches
Doc Comments   +19 added lines patch added patch discarded remove patch
@@ -383,6 +383,7 @@  discard block
 block discarded – undo
383 383
 
384 384
 	/**
385 385
 	 * Cache the field instance for re-use.
386
+	 * @param Field $fieldInstance
386 387
 	 */
387 388
 	public function __AddModuleFieldToCache($moduleInstance, $fieldname, $fieldInstance)
388 389
 	{
@@ -391,6 +392,7 @@  discard block
 block discarded – undo
391 392
 
392 393
 	/**
393 394
 	 * Get field instance from cache.
395
+	 * @return FieldBasic
394 396
 	 */
395 397
 	public function __GetModuleFieldFromCache($moduleInstance, $fieldname)
396 398
 	{
@@ -642,6 +644,8 @@  discard block
 block discarded – undo
642 644
 
643 645
 	/**
644 646
 	 * Import Blocks of the module.
647
+	 * @param \SimpleXMLElement $modulenode
648
+	 * @param Module $moduleInstance
645 649
 	 */
646 650
 	public function importBlocks($modulenode, $moduleInstance)
647 651
 	{
@@ -686,6 +690,7 @@  discard block
 block discarded – undo
686 690
 
687 691
 	/**
688 692
 	 * Import Fields of the module.
693
+	 * @param Block $blockInstance
689 694
 	 */
690 695
 	public function importFields($blocknode, $blockInstance, $moduleInstance)
691 696
 	{
@@ -780,6 +785,8 @@  discard block
 block discarded – undo
780 785
 
781 786
 	/**
782 787
 	 * Import Custom views of the module.
788
+	 * @param \SimpleXMLElement $modulenode
789
+	 * @param Module $moduleInstance
783 790
 	 */
784 791
 	public function importCustomViews($modulenode, $moduleInstance)
785 792
 	{
@@ -823,6 +830,8 @@  discard block
 block discarded – undo
823 830
 
824 831
 	/**
825 832
 	 * Import Sharing Access of the module.
833
+	 * @param \SimpleXMLElement $modulenode
834
+	 * @param Module $moduleInstance
826 835
 	 */
827 836
 	public function importSharingAccess($modulenode, $moduleInstance)
828 837
 	{
@@ -839,6 +848,8 @@  discard block
 block discarded – undo
839 848
 
840 849
 	/**
841 850
 	 * Import Events of the module.
851
+	 * @param \SimpleXMLElement $modulenode
852
+	 * @param Module $moduleInstance
842 853
 	 */
843 854
 	public function importEvents($modulenode, $moduleInstance)
844 855
 	{
@@ -853,6 +864,8 @@  discard block
 block discarded – undo
853 864
 
854 865
 	/**
855 866
 	 * Import actions of the module.
867
+	 * @param \SimpleXMLElement $modulenode
868
+	 * @param Module $moduleInstance
856 869
 	 */
857 870
 	public function importActions($modulenode, $moduleInstance)
858 871
 	{
@@ -879,6 +892,8 @@  discard block
 block discarded – undo
879 892
 
880 893
 	/**
881 894
 	 * Import related lists of the module.
895
+	 * @param \SimpleXMLElement $modulenode
896
+	 * @param Module $moduleInstance
882 897
 	 */
883 898
 	public function importRelatedLists($modulenode, $moduleInstance)
884 899
 	{
@@ -956,6 +971,7 @@  discard block
 block discarded – undo
956 971
 
957 972
 	/**
958 973
 	 * Import cron jobs of the module.
974
+	 * @param \SimpleXMLElement $modulenode
959 975
 	 */
960 976
 	public function importCronTasks($modulenode)
961 977
 	{
@@ -1053,6 +1069,9 @@  discard block
 block discarded – undo
1053 1069
 		}
1054 1070
 	}
1055 1071
 
1072
+	/**
1073
+	 * @param \Vtiger_InventoryField_Model $inventoryFieldInstance
1074
+	 */
1056 1075
 	public function importInventoryField($inventoryFieldInstance, $fieldNode)
1057 1076
 	{
1058 1077
 		$instance = \Vtiger_InventoryField_Model::getFieldInstance($inventoryFieldInstance->get('module'), $fieldNode->invtype);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1023,7 +1023,7 @@
 block discarded – undo
1023 1023
 			$db->createCommand()->update('vtiger_version', ['current_version' => (string) $this->_modulexml->to_version])->execute();
1024 1024
 		}
1025 1025
 		Functions::recurseDelete($dirName);
1026
-		register_shutdown_function(function () {
1026
+		register_shutdown_function(function() {
1027 1027
 			$viewer = \Vtiger_Viewer::getInstance();
1028 1028
 			$viewer->clearAllCache();
1029 1029
 			Functions::recurseDelete('cache/templates_c');
Please login to merge, or discard this patch.
modules/Portal/models/Module.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,6 +26,9 @@  discard block
 block discarded – undo
26 26
 		return $links;
27 27
 	}
28 28
 
29
+	/**
30
+	 * @param integer $recordId
31
+	 */
29 32
 	public static function savePortalRecord($recordId, $bookmarkName, $bookmarkUrl)
30 33
 	{
31 34
 		$db = App\Db::getInstance();
@@ -64,7 +67,7 @@  discard block
 block discarded – undo
64 67
 	/**
65 68
 	 * Delete record.
66 69
 	 *
67
-	 * @param $recordId
70
+	 * @param integer $recordId
68 71
 	 *
69 72
 	 * @throws \yii\db\Exception
70 73
 	 */
@@ -76,7 +79,7 @@  discard block
 block discarded – undo
76 79
 	/**
77 80
 	 * Get website url.
78 81
 	 *
79
-	 * @param $recordId
82
+	 * @param integer $recordId
80 83
 	 *
81 84
 	 * @return false|null|string
82 85
 	 */
Please login to merge, or discard this patch.
modules/Vtiger/models/Block.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@  discard block
 block discarded – undo
50 50
 		}
51 51
 	}
52 52
 
53
+	/**
54
+	 * @param string $propertyName
55
+	 */
53 56
 	public function set($propertyName, $value)
54 57
 	{
55 58
 		if (property_exists($this, $propertyName)) {
@@ -272,6 +275,7 @@  discard block
 block discarded – undo
272 275
 	 *
273 276
 	 * @param string $blockLabel
274 277
 	 * @param number ModuleId
278
+	 * @param integer $tabId
275 279
 	 *
276 280
 	 * @return bool true/false
277 281
 	 */
Please login to merge, or discard this patch.
modules/Vtiger/models/Multifilter.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 	/**
83 83
 	 * Set widget model to show.
84 84
 	 *
85
-	 * @param $widgetModel
85
+	 * @param Vtiger_Widget_Model $widgetModel
86 86
 	 *
87 87
 	 * @throws \App\Exceptions\AppException
88 88
 	 */
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 	/**
99 99
 	 * Set filter id to show.
100 100
 	 *
101
-	 * @param $filterId
101
+	 * @param integer $filterId
102 102
 	 */
103 103
 	public function setFilterId($filterId)
104 104
 	{
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 	/**
139 139
 	 * @throws \App\Exceptions\NoPermitted
140 140
 	 *
141
-	 * @return array
141
+	 * @return string[]
142 142
 	 */
143 143
 	public function getTargetFields()
144 144
 	{
Please login to merge, or discard this patch.
app/QueryField/TimeField.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 	/**
15 15
 	 * Greater operator.
16 16
 	 *
17
-	 * @return array
17
+	 * @return string[]
18 18
 	 */
19 19
 	public function operatorG()
20 20
 	{
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 	/**
25 25
 	 * Get value.
26 26
 	 *
27
-	 * @return mixed
27
+	 * @return string
28 28
 	 */
29 29
 	public function getValue()
30 30
 	{
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 	/**
35 35
 	 * Lower operator.
36 36
 	 *
37
-	 * @return array
37
+	 * @return string[]
38 38
 	 */
39 39
 	public function operatorL()
40 40
 	{
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 	/**
45 45
 	 * Before operator.
46 46
 	 *
47
-	 * @return array
47
+	 * @return string[]
48 48
 	 */
49 49
 	public function operatorB()
50 50
 	{
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 	/**
55 55
 	 * After operator.
56 56
 	 *
57
-	 * @return array
57
+	 * @return string[]
58 58
 	 */
59 59
 	public function operatorA()
60 60
 	{
Please login to merge, or discard this patch.
app/Utils/ConfReport.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -846,7 +846,7 @@  discard block
 block discarded – undo
846 846
 	 * @param string $name
847 847
 	 * @param array  $row
848 848
 	 *
849
-	 * @return array
849
+	 * @return string
850 850
 	 */
851 851
 	private static function parserAllExt(string $name, array $row)
852 852
 	{
@@ -888,7 +888,7 @@  discard block
 block discarded – undo
888 888
 	 * @param string $name
889 889
 	 * @param array  $row
890 890
 	 *
891
-	 * @return array
891
+	 * @return string
892 892
 	 */
893 893
 	private static function parserHttpMethods(string $name, array $row)
894 894
 	{
Please login to merge, or discard this patch.
modules/Vtiger/handlers/SocialMedia.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 	 *
55 55
 	 * @param \App\EventHandler $eventHandler
56 56
 	 *
57
-	 * @return bool
57
+	 * @return boolean|null
58 58
 	 */
59 59
 	public function entityBeforeDelete(\App\EventHandler $eventHandler)
60 60
 	{
Please login to merge, or discard this patch.
app/Fields/RecordNumber.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 	 * @param null|string $resetSequence 'Y'-Year, 'M'-Month, 'D'-Day
43 43
 	 * @param string      $curSequence   '201804' for example for M reset sequence
44 44
 	 *
45
-	 * @return bool
45
+	 * @return integer|null
46 46
 	 */
47 47
 	public static function setNumber($tabId, $prefix = '', $no = '', $postfix = '', $leadingZeros = 0, $resetSequence = null, $curSequence = '')
48 48
 	{
Please login to merge, or discard this patch.