@@ -100,6 +100,9 @@ discard block |
||
100 | 100 | }); |
101 | 101 | } |
102 | 102 | |
103 | + /** |
|
104 | + * @param string $class |
|
105 | + */ |
|
103 | 106 | public static function base_indexes($class) |
104 | 107 | { |
105 | 108 | return self::without_fluent_fields(function () use ($class) { |
@@ -184,7 +187,7 @@ discard block |
||
184 | 187 | /** |
185 | 188 | * Given an index spec determines the index type |
186 | 189 | * |
187 | - * @param type $spec |
|
190 | + * @param string $spec |
|
188 | 191 | * @return string |
189 | 192 | */ |
190 | 193 | protected static function determine_index_type($spec) |
@@ -18,8 +18,8 @@ |
||
18 | 18 | /** |
19 | 19 | * Set the filter of locales to the specified locale, or array of locales |
20 | 20 | * |
21 | - * @param string|array $locale Locale, or list of locales |
|
22 | - * @param string $locale... Additional locales |
|
21 | + * @param string|array $locales Locale, or list of locales |
|
22 | + * @param string $locales... Additional locales |
|
23 | 23 | */ |
24 | 24 | public function setFilteredLocales($locales) |
25 | 25 | { |
@@ -11,8 +11,8 @@ |
||
11 | 11 | /** |
12 | 12 | * Set the filter of locales to the specified locale, or array of locales |
13 | 13 | * |
14 | - * @param string|array $locale Locale, or list of locales |
|
15 | - * @param string $locale... Additional locales |
|
14 | + * @param string|array $locales Locale, or list of locales |
|
15 | + * @param string $locales... Additional locales |
|
16 | 16 | */ |
17 | 17 | public function setMenuFilteredLocales($locales) |
18 | 18 | { |
@@ -358,7 +358,6 @@ discard block |
||
358 | 358 | * Determine the home domain for this locale |
359 | 359 | * |
360 | 360 | * @param string $locale |
361 | - * @param string|null $domain |
|
362 | 361 | */ |
363 | 362 | public static function domain_for_locale($locale) |
364 | 363 | { |
@@ -623,7 +622,7 @@ discard block |
||
623 | 622 | * |
624 | 623 | * @param string $locale The locale to set |
625 | 624 | * @param callable $callback The callback |
626 | - * @return mixed The returned value from the $callback |
|
625 | + * @return integer The returned value from the $callback |
|
627 | 626 | */ |
628 | 627 | public static function with_locale($locale, $callback) |
629 | 628 | { |