Completed
Push — master ( 477aa2...0a4bb5 )
by Angus
06:22
created
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.
application/core/MY_Config.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 	 * @param	string	$file			Configuration file name
12 12
 	 * @param	bool	$use_sections		Whether configuration values should be loaded into their own section
13 13
 	 * @param	bool	$fail_gracefully	Whether to just return FALSE or display an error message
14
-	 * @return	bool	TRUE if the file was loaded correctly or FALSE on failure
14
+	 * @return	boolean|null	TRUE if the file was loaded correctly or FALSE on failure
15 15
 	 */
16 16
 	public function load($file = '', $use_sections = FALSE, $fail_gracefully = FALSE)
17 17
 	{
Please login to merge, or discard this patch.
application/models/Auth_Model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
 
72 72
 	/**
73 73
 	 * @param string $verificationCode
74
-	 * @return mixed
74
+	 * @return string
75 75
 	 */
76 76
 	public function verificationCheck(string $verificationCode) {
77 77
 		//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.