Passed
Push — developer ( c9d396...8e0a17 )
by Błażej
90:59 queued 76:12
created
app/Session.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
 	 *
87 87
 	 * @param string $key
88 88
 	 *
89
-	 * @return bool
89
+	 * @return boolean|null
90 90
 	 */
91 91
 	public static function delete($key)
92 92
 	{
Please login to merge, or discard this patch.
app/SystemWarnings/YetiForce/Newsletter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 	/**
31 31
 	 * Get unique key.
32 32
 	 *
33
-	 * @return type
33
+	 * @return string
34 34
 	 */
35 35
 	public function getKey()
36 36
 	{
Please login to merge, or discard this patch.
app/SystemWarnings/YetiForce/Stats.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 	/**
31 31
 	 * Get unique key.
32 32
 	 *
33
-	 * @return type
33
+	 * @return string
34 34
 	 */
35 35
 	public function getKey()
36 36
 	{
Please login to merge, or discard this patch.
app/User.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
 	/**
147 147
 	 * Clear user cache.
148 148
 	 *
149
-	 * @param int|bool $userId
149
+	 * @param integer $userId
150 150
 	 */
151 151
 	public static function clearCache($userId = false)
152 152
 	{
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
 	 *
210 210
 	 * @param string $fieldName
211 211
 	 *
212
-	 * @return mixed
212
+	 * @return string
213 213
 	 */
214 214
 	public function getDetail($fieldName)
215 215
 	{
@@ -219,7 +219,6 @@  discard block
 block discarded – undo
219 219
 	/**
220 220
 	 * Get user all details.
221 221
 	 *
222
-	 * @param string $fieldName
223 222
 	 *
224 223
 	 * @return mixed
225 224
 	 */
Please login to merge, or discard this patch.
app/UserPrivilegesFile.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -408,7 +408,7 @@
 block discarded – undo
408 408
 	 * Function to populate the read/wirte Sharing permissions related module data for the specified user into the database.
409 409
 	 *
410 410
 	 * @param string $enttype
411
-	 * @param int    $userid
411
+	 * @param int    $userId
412 412
 	 * @param string $module
413 413
 	 * @param string $relmodule
414 414
 	 * @param string $pertype
Please login to merge, or discard this patch.
app/Utils.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 	 *
19 19
 	 * @param mixed $variable
20 20
 	 *
21
-	 * @return mixed the variable representation when the <i>return</i>
21
+	 * @return string the variable representation when the <i>return</i>
22 22
 	 */
23 23
 	public static function varExport($variable)
24 24
 	{
Please login to merge, or discard this patch.
app/Zip.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 	 *
44 44
 	 * @throws Exceptions\AppException
45 45
 	 *
46
-	 * @return Zip|bool
46
+	 * @return Zip
47 47
 	 */
48 48
 	public static function openFile($fileName = false, $options = [])
49 49
 	{
Please login to merge, or discard this patch.
app/Mailer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 		$this->mailer = new \PHPMailer\PHPMailer\PHPMailer(false);
38 38
 		if (\AppConfig::debug('MAILER_DEBUG')) {
39 39
 			$this->mailer->SMTPDebug = 2;
40
-			$this->mailer->Debugoutput = function ($str, $level) {
40
+			$this->mailer->Debugoutput = function($str, $level) {
41 41
 				if (strpos(strtolower($str), 'error') !== false || strpos(strtolower($str), 'failed') !== false) {
42 42
 					Log::error(trim($str), 'Mailer');
43 43
 				} else {
@@ -364,7 +364,7 @@  discard block
 block discarded – undo
364 364
 	{
365 365
 		$this->mailer->SMTPDebug = 2;
366 366
 		$this->error = [];
367
-		$this->mailer->Debugoutput = function ($str, $level) {
367
+		$this->mailer->Debugoutput = function($str, $level) {
368 368
 			if (strpos(strtolower($str), 'error') !== false || strpos(strtolower($str), 'failed') !== false) {
369 369
 				$this->error[] = trim($str);
370 370
 				Log::error(trim($str), 'Mailer');
Please login to merge, or discard this patch.
app/Fields/Owner.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
 		}
79 79
 		if (!empty($this->searchValue)) {
80 80
 			$this->searchValue = strtolower($this->searchValue);
81
-			$accessibleGroups = array_filter($accessibleGroups, function ($name) {
81
+			$accessibleGroups = array_filter($accessibleGroups, function($name) {
82 82
 				return strstr(strtolower($name), $this->searchValue);
83 83
 			});
84 84
 		}
Please login to merge, or discard this patch.
Doc Comments   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 	 * Function to get all the accessible users.
91 91
 	 *
92 92
 	 * @param string $private
93
-	 * @param mixed  $fieldType
93
+	 * @param boolean  $fieldType
94 94
 	 *
95 95
 	 * @return array
96 96
 	 */
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
 	 * @param string $status
185 185
 	 * @param mixed  $assignedUser
186 186
 	 * @param string $private
187
-	 * @param mixed  $roles
187
+	 * @param boolean  $roles
188 188
 	 *
189 189
 	 * @return array
190 190
 	 */
@@ -221,8 +221,8 @@  discard block
 block discarded – undo
221 221
 	/**
222 222
 	 * Function gets sql query.
223 223
 	 *
224
-	 * @param mixed $private
225
-	 * @param mixed $status
224
+	 * @param string $private
225
+	 * @param string $status
226 226
 	 * @param mixed $roles
227 227
 	 *
228 228
 	 * @return \App\Db\Query
@@ -407,7 +407,6 @@  discard block
 block discarded – undo
407 407
 	/**
408 408
 	 * Function returns list of accessible users for a module.
409 409
 	 *
410
-	 * @param string $module
411 410
 	 *
412 411
 	 * @return <Array of Users_Record_Model>
413 412
 	 */
@@ -737,8 +736,8 @@  discard block
 block discarded – undo
737 736
 	/**
738 737
 	 * Transfer ownership workflow tasks.
739 738
 	 *
740
-	 * @param type $oldId
741
-	 * @param type $newId
739
+	 * @param integer $oldId
740
+	 * @param integer $newId
742 741
 	 */
743 742
 	private static function transferOwnershipForWorkflow($oldId, $newId)
744 743
 	{
Please login to merge, or discard this patch.