Completed
Push — master ( 3ee909...1f6bf8 )
by Angus
03:33
created
application/models/Auth_Model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 
73 73
 	/**
74 74
 	 * @param string $verificationCode
75
-	 * @return mixed
75
+	 * @return string
76 76
 	 */
77 77
 	public function verification_check(string $verificationCode) {
78 78
 		//user is trying to validate their email for signup, check if verification code is still valid/exists
Please login to merge, or discard this patch.
application/libraries/MY_DB_cache.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -245,7 +245,7 @@
 block discarded – undo
245 245
 	}
246 246
 
247 247
 	/**
248
-	 * @param $md5
248
+	 * @param string $md5
249 249
 	 *
250 250
 	 * @return array
251 251
 	 */
Please login to merge, or discard this patch.
application/models/User_Options_Model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
 	 * @param string   $option
115 115
 	 * @param int|null $userID
116 116
 	 *
117
-	 * @return mixed Returns option value as STRING, or FALSE if option does not exist.
117
+	 * @return string Returns option value as STRING, or FALSE if option does not exist.
118 118
 	 */
119 119
 	public function get(string $option, ?int $userID = NULL) {
120 120
 		$userID = (is_null($userID) ? (int) $this->User->id : $userID);
Please login to merge, or discard this patch.
application/models/Tracker/Tracker_Title_Model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
 	/**
123 123
 	 * @param string $site_url
124 124
 	 *
125
-	 * @return stdClass|object|null
125
+	 * @return string
126 126
 	 */
127 127
 	public function getSiteDataFromURL(string $site_url) {
128 128
 		$query = $this->db->select('*')
Please login to merge, or discard this patch.
application/core/MY_Log.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
 	 * Write to defined logger. Is called from CodeIgniters native log_message()
138 138
 	 *
139 139
 	 * @param string $level
140
-	 * @param $msg
140
+	 * @param string $msg
141 141
 	 * @return bool
142 142
 	 */
143 143
 	public function write_log($level = 'error', $msg)
Please login to merge, or discard this patch.
application/models/Tracker/Tracker_Sites_Model.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -531,6 +531,10 @@
 block discarded – undo
531 531
 	final private function _getSiteRateLimit() : int {
532 532
 		return (int) ($this->cache->get("{$this->site}_ratelimit") ?: 0);
533 533
 	}
534
+
535
+	/**
536
+	 * @param integer $rateLimit
537
+	 */
534 538
 	final private function _setSiteRateLimit(?int $rateLimit = NULL) : bool {
535 539
 		//We would just use increment(), but we can't set ttl with it...
536 540
 		$currentRateLimit = $rateLimit ?: $this->_getSiteRateLimit();
Please login to merge, or discard this patch.