Passed
Push — notification-badge-count ( b26e95...ddbc47 )
by Ilia
14:27 queued 05:11
created
engine/classes/ElggObject.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -561,7 +561,7 @@
 block discarded – undo
561 561
 	/**
562 562
 	 * Return an array of fields which can be exported.
563 563
 	 *
564
-	 * @return array
564
+	 * @return string[]
565 565
 	 * @deprecated 1.9 Use toObject()
566 566
 	 */
567 567
 	public function getExportableValues() {
Please login to merge, or discard this patch.
engine/classes/ElggSite.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -561,7 +561,7 @@
 block discarded – undo
561 561
 	/**
562 562
 	 * Return an array of fields which can be exported.
563 563
 	 *
564
-	 * @return array
564
+	 * @return string[]
565 565
 	 * @deprecated 1.9 Use toObject()
566 566
 	 */
567 567
 	public function getExportableValues() {
Please login to merge, or discard this patch.
mod/gccollab_theme/include/fgcontactform.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -724,6 +724,9 @@
 block discarded – undo
724 724
         $this->message = $this->StripSlashes($_POST['message']);
725 725
     }
726 726
 
727
+    /**
728
+     * @param string $error
729
+     */
727 730
     function add_error($error)
728 731
     {
729 732
         array_push($this->errors,$error);
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Since.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@
 block discarded – undo
43 43
     /** @var string The version vector. */
44 44
     private $version = '';
45 45
 
46
+    /**
47
+     * @param string $version
48
+     */
46 49
     public function __construct($version = null, Description $description = null)
47 50
     {
48 51
         Assert::nullOrStringNotEmpty($version);
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Version.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@
 block discarded – undo
43 43
     /** @var string The version vector. */
44 44
     private $version = '';
45 45
 
46
+    /**
47
+     * @param string $version
48
+     */
46 49
     public function __construct($version = null, Description $description = null)
47 50
     {
48 51
         Assert::nullOrStringNotEmpty($version);
Please login to merge, or discard this patch.
mod/gc_api/lib/blog.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -45,6 +45,9 @@
 block discarded – undo
45 45
 
46 46
 	return $output;
47 47
 }
48
+/**
49
+ * @param ElggEntity $entity
50
+ */
48 51
 function get_blog($entity)
49 52
 {
50 53
 	/*
Please login to merge, or discard this patch.
mod/gcconnex_theme/include/fgcontactform.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -758,6 +758,9 @@
 block discarded – undo
758 758
 		$this->message = $this->StripSlashes($_POST['message']);
759 759
 	}
760 760
 
761
+	/**
762
+	 * @param string $error
763
+	 */
761 764
 	public function add_error($error)
762 765
 	{
763 766
 		array_push($this->errors, $error);
Please login to merge, or discard this patch.
mod/uservalidationbyemail/start.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
  * @param string $type
63 63
  * @param bool   $value
64 64
  * @param array  $params
65
- * @return bool
65
+ * @return null|boolean
66 66
  */
67 67
 function uservalidationbyemail_disable_new_user($hook, $type, $value, $params) {
68 68
 	$user = elgg_extract('user', $params);
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
  * Checks if an account is validated
156 156
  *
157 157
  * @params array $credentials The username and password
158
- * @return bool
158
+ * @return boolean|null
159 159
  */
160 160
 function uservalidationbyemail_check_auth_attempt($credentials) {
161 161
 
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
  * @param string   $event
235 235
  * @param string   $type
236 236
  * @param ElggUser $user
237
- * @return bool
237
+ * @return false|null
238 238
  *
239 239
  * @throws LoginException
240 240
  */
Please login to merge, or discard this patch.
mod/gc_communities/views/default/widgets/filtered_events_index/content.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -12,6 +12,11 @@
 block discarded – undo
12 12
 require_once($CONFIG->pluginspath.'event_calendar/models/model.php');
13 13
 
14 14
 if (!function_exists('getLastDayOfMonth')) {
15
+
16
+	/**
17
+	 * @param string $month
18
+	 * @param string $year
19
+	 */
15 20
 	function getLastDayOfMonth($month, $year)
16 21
 	{
17 22
 		return idate('d', mktime(0, 0, 0, ($month + 1), 0, $year));
Please login to merge, or discard this patch.