Completed
Branch master (e5db64)
by Schlaefer
09:02
created
app/Model/Setting.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -92,6 +92,9 @@
 block discarded – undo
92 92
 			return $settings;
93 93
 		}
94 94
 
95
+		/**
96
+		 * @param string $field
97
+		 */
95 98
 		protected function _normToSeconds(&$settings, $field) {
96 99
 			$settings[$field] = (int)$settings[$field] * 60;
97 100
 		}
Please login to merge, or discard this patch.
app/Model/UserIgnore.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 		 * counts how many users ignore the user with ID $id
83 83
 		 *
84 84
 		 * @param $id
85
-		 * @return array
85
+		 * @return integer
86 86
 		 */
87 87
 		public function countIgnored($id) {
88 88
 			return count($this->getIgnored($id));
Please login to merge, or discard this patch.
app/Plugin/Api/Lib/ApiControllerTestCase.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -7,6 +7,10 @@
 block discarded – undo
7 7
 			parent::setUp();
8 8
 		}
9 9
 
10
+		/**
11
+		 * @param string[] $types
12
+		 * @param string $url
13
+		 */
10 14
 		protected function _checkDisallowedRequestType($types, $url) {
11 15
 			foreach ($types as $requestType) {
12 16
 				try {
Please login to merge, or discard this patch.
app/Plugin/BbcodeParser/Lib/jBBCode/Definitions/JbbCodeDefinitions.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -306,6 +306,9 @@
 block discarded – undo
306 306
 
307 307
 		/**
308 308
 		 * @see http://www.php.net/manual/en/function.str-pad.php#111147
309
+		 * @param string $str
310
+		 * @param integer $padLen
311
+		 * @param integer $dir
309 312
 		 */
310 313
 		protected function _mbStrpad($str, $padLen, $padStr = ' ', $dir = STR_PAD_RIGHT) {
311 314
 			$strLen = mb_strlen($str);
Please login to merge, or discard this patch.
app/Plugin/Cron/Lib/Cron.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -102,6 +102,9 @@
 block discarded – undo
102 102
 			return $this->_lastRuns;
103 103
 		}
104 104
 
105
+		/**
106
+		 * @param string $msg
107
+		 */
105 108
 		protected function _log($msg) {
106 109
 			if (Configure::read('Saito.Globals.logInfo')) {
107 110
 				return CakeLog::write('saito.info', $msg);
Please login to merge, or discard this patch.
app/Plugin/SaitoHelp/Model/Datasource/SaitoHelpSource.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@
 block discarded – undo
30 30
 			return $this->_schema;
31 31
 		}
32 32
 
33
+		/**
34
+		 * @param string $key
35
+		 */
33 36
 		public function resolveKey(Model $model, $key) {
34 37
 			if (strpos('.', $key) === false) {
35 38
 				return $model->alias . '.' . $key;
Please login to merge, or discard this patch.
app/Plugin/SimpleCaptcha/Model/Behavior/SimpleCaptchaBehavior.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 	/**
38 38
 	 * Setup instance
39 39
 	 *
40
-	 * @param type $Model
40
+	 * @param Model $Model
41 41
 	 * @param type $settings
42 42
 	 */
43 43
 	public function setup(Model $Model, $settings = array()) {
@@ -183,6 +183,8 @@  discard block
 block discarded – undo
183 183
 	/**
184 184
 	 * build and log error message
185 185
 	 * 2009-12-18 ms
186
+	 * @param string $msg
187
+	 * @param string $internalMsg
186 188
 	 */
187 189
 	private function error($msg = null, $internalMsg = null) {
188 190
 		if (!empty($msg)) {
Please login to merge, or discard this patch.
app/Plugin/Stopwatch/Lib/Stopwatch.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,6 +54,9 @@  discard block
 block discarded – undo
54 54
 		self::$_stopwatchCalls = 0;
55 55
 	}
56 56
 
57
+	/**
58
+	 * @param string $event
59
+	 */
57 60
 	static protected function _addEvent($x, $event = null) {
58 61
 		if (self::$_enableTimer === false) {
59 62
 			return;
@@ -264,7 +267,7 @@  discard block
 block discarded – undo
264 267
 /**
265 268
  * Alias for self::stop
266 269
  *
267
- * @param type $text
270
+ * @param string $text
268 271
  */
269 272
 	public static function end($text) {
270 273
 		self::stop($text);
Please login to merge, or discard this patch.
app/View/Helper/LayoutHelper.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -151,6 +151,9 @@
 block discarded – undo
151 151
 			return $this->Html->tag('span', $content, ['class' => 'infoText']);
152 152
 		}
153 153
 
154
+		/**
155
+		 * @param string $icon
156
+		 */
154 157
 		public function textWithIcon($text, $icon) {
155 158
 			return <<<EOF
156 159
 				<i class="saito-icon fa fa-$icon"></i>
Please login to merge, or discard this patch.