Completed
Push — 3 ( e98770...9f5757 )
by Damian
21s
created
core/manifest/ConfigManifest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -244,6 +244,9 @@  discard block
 block discarded – undo
244 244
 	 * splt/complete before and after matchers)
245 245
 	 *
246 246
 	 * Public so that ManifestFileFinder can call it. Not for general use.
247
+	 * @param string $basename
248
+	 * @param string $pathname
249
+	 * @param boolean $depth
247 250
 	 */
248 251
 	public function addYAMLConfigFile($basename, $pathname, $depth) {
249 252
 		if (!preg_match('{/([^/]+)/_config/}', $pathname, $match)) return;
@@ -467,7 +470,7 @@  discard block
 block discarded – undo
467 470
 	 * Returns false if the prefilterable parts of the rule aren't met, and true if they are
468 471
 	 *
469 472
 	 * @param  $rules array - A hash of rules as allowed in the only or except portion of a config fragment header
470
-	 * @return bool - True if the rules are met, false if not. (Note that depending on whether we were passed an
473
+	 * @return boolean|string - True if the rules are met, false if not. (Note that depending on whether we were passed an
471 474
 	 *                only or an except rule,
472 475
 	 * which values means accept or reject a fragment
473 476
 	 */
Please login to merge, or discard this patch.
i18n/i18n.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2173,6 +2173,7 @@  discard block
 block discarded – undo
2173 2173
 
2174 2174
 	/**
2175 2175
 	 * @param String
2176
+	 * @param string $name
2176 2177
 	 * @return Zend_Translate
2177 2178
 	 */
2178 2179
 	public static function get_translator($name) {
@@ -2186,6 +2187,7 @@  discard block
 block discarded – undo
2186 2187
 	 * @param Zend_Translate Needs to implement {@link i18nTranslateAdapterInterface}
2187 2188
 	 * @param String If left blank will override the default translator.
2188 2189
 	 * @param Int
2190
+	 * @param string $name
2189 2191
 	 */
2190 2192
 	public static function register_translator($translator, $name, $priority = 10) {
2191 2193
 		if (!is_int($priority)) throw new InvalidArgumentException("register_translator expects an int priority");
@@ -2315,7 +2317,7 @@  discard block
 block discarded – undo
2315 2317
 	 *
2316 2318
 	 * @see get_locale_name()
2317 2319
 	 *
2318
-	 * @param mixed $code Language code
2320
+	 * @param string $code Language code
2319 2321
 	 * @param boolean $native If true, the native name will be returned
2320 2322
 	 * @return Name of the language
2321 2323
 	 */
@@ -2472,6 +2474,7 @@  discard block
 block discarded – undo
2472 2474
 	 *
2473 2475
 	 * Note: Does not check for {@link $allowed_locales}.
2474 2476
 	 *
2477
+	 * @param string $locale
2475 2478
 	 * @return boolean
2476 2479
 	 */
2477 2480
 	public static function validate_locale($locale) {
Please login to merge, or discard this patch.