Completed
Pull Request — developer (#8932)
by Sławomir
120:59 queued 101:08
created
vtlib/Vtiger/PackageExport.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -38,6 +38,9 @@  discard block
 block discarded – undo
38 38
 		$this->__write("<$node>$delimiter");
39 39
 	}
40 40
 
41
+	/**
42
+	 * @param string $node
43
+	 */
41 44
 	public function closeNode($node, $delimiter = PHP_EOL)
42 45
 	{
43 46
 		$this->__write("</$node>$delimiter");
@@ -62,6 +65,7 @@  discard block
 block discarded – undo
62 65
 	/**
63 66
 	 * Set the module.xml file path for this export and
64 67
 	 * return its temporary path.
68
+	 * @return string
65 69
 	 */
66 70
 	public function __getManifestFilePath()
67 71
 	{
@@ -75,6 +79,7 @@  discard block
 block discarded – undo
75 79
 
76 80
 	/**
77 81
 	 * Initialize Export.
82
+	 * @param boolean $module
78 83
 	 */
79 84
 	public function __initExport($module)
80 85
 	{
Please login to merge, or discard this patch.
modules/Settings/Profiles/models/Record.php 1 patch
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,7 +54,8 @@  discard block
 block discarded – undo
54 54
 	/**
55 55
 	 * Function to get the Id.
56 56
 	 *
57
-	 * @return int Profile Id
57
+	 * @param string $id
58
+	 * @return Settings_Profiles_Record_Model Profile Id
58 59
 	 */
59 60
 	protected function setId($id)
60 61
 	{
@@ -317,7 +318,7 @@  discard block
 block discarded – undo
317 318
 	 *
318 319
 	 * @param Vtiger_Module_Model $module
319 320
 	 *
320
-	 * @return bool|array
321
+	 * @return boolean|string
321 322
 	 */
322 323
 	public function getProfileTabModel($module)
323 324
 	{
@@ -916,9 +917,9 @@  discard block
 block discarded – undo
916 917
 	 *
917 918
 	 * @param string $profileName
918 919
 	 * @param bool   $checkOnlyDirectlyRelated
919
-	 * @param array  $excludedRecordId
920
+	 * @param integer  $excludedRecordId
920 921
 	 *
921
-	 * @return \self
922
+	 * @return Settings_Profiles_Record_Model|null
922 923
 	 */
923 924
 	public static function getInstanceByName($profileName, $checkOnlyDirectlyRelated = false, $excludedRecordId = [])
924 925
 	{
Please login to merge, or discard this patch.
modules/Settings/PublicHoliday/models/Module.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,8 +11,7 @@  discard block
 block discarded – undo
11 11
 	/**
12 12
 	 * Gets list of holidays.
13 13
 	 *
14
-	 * @param string $dateStart - beginning date
15
-	 * @param string $dateTo    - ending date
14
+	 * @param string $date    - ending date
16 15
 	 *
17 16
 	 * @return - array of holidays success, false on failure
18 17
 	 */
@@ -50,7 +49,7 @@  discard block
 block discarded – undo
50 49
 	/**
51 50
 	 * Delete holiday.
52 51
 	 *
53
-	 * @param <Int> $id - id of holiday
52
+	 * @param integer $id - id of holiday
54 53
 	 *
55 54
 	 * @return - true on success, false on failure
56 55
 	 */
@@ -97,7 +96,7 @@  discard block
 block discarded – undo
97 96
 	/**
98 97
 	 * Edit holiday.
99 98
 	 *
100
-	 * @param <Int>  $id   - id of the holiday
99
+	 * @param integer  $id   - id of the holiday
101 100
 	 * @param string $date - date of the holiday
102 101
 	 * @param string $name - name of the holiday
103 102
 	 * @param string $type - name of the holiday
Please login to merge, or discard this patch.
modules/Settings/RealizationProcesses/models/Module.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -52,6 +52,7 @@
 block discarded – undo
52 52
 	/**
53 53
 	 * Update status.
54 54
 	 *
55
+	 * @param integer $moduleId
55 56
 	 * @return - array of status
56 57
 	 */
57 58
 	public static function updateStatusNotModify($moduleId, $status)
Please login to merge, or discard this patch.
app/Base.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 	 * @param string $key
42 42
 	 * @param bool   $skipEmtpy Skip the check if string is empty
43 43
 	 *
44
-	 * @return mixed Value for the given key
44
+	 * @return string|boolean Value for the given key
45 45
 	 */
46 46
 	public function getForSql($key, $skipEmtpy = true)
47 47
 	{
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 	 *
54 54
 	 * @param string $key
55 55
 	 *
56
-	 * @return mixed
56
+	 * @return string
57 57
 	 */
58 58
 	public function getForHtml($key)
59 59
 	{
Please login to merge, or discard this patch.
app/Cache/Base.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 	 *
69 69
 	 * @param string|array $key Cache ID
70 70
 	 *
71
-	 * @return bool
71
+	 * @return boolean|null
72 72
 	 */
73 73
 	public function delete($key)
74 74
 	{
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 	/**
79 79
 	 * Deletes all items in the cache.
80 80
 	 *
81
-	 * @return bool
81
+	 * @return boolean|null
82 82
 	 */
83 83
 	public function clear()
84 84
 	{
Please login to merge, or discard this patch.
app/Colors.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -277,7 +277,7 @@
 block discarded – undo
277 277
 	/**
278 278
 	 * Function to update color for module.
279 279
 	 *
280
-	 * @param array $params
280
+	 * @param integer $id
281 281
 	 */
282 282
 	public static function updateModuleColor($id, $color)
283 283
 	{
Please login to merge, or discard this patch.
app/Controller/Base.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 	 *
51 51
 	 * @param \App\Request $request
52 52
 	 *
53
-	 * @return bool
53
+	 * @return boolean|null
54 54
 	 */
55 55
 	public function validateRequest(\App\Request $request)
56 56
 	{
Please login to merge, or discard this patch.
app/Controller/ExposeMethod.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -49,8 +49,6 @@
 block discarded – undo
49 49
 	/**
50 50
 	 * Function invokes exposed methods for this class.
51 51
 	 *
52
-	 * @param string       $name    - method name
53
-	 * @param \App\Request $request
54 52
 	 *
55 53
 	 * @throws \App\Exceptions\AppException
56 54
 	 *
Please login to merge, or discard this patch.