@@ -151,6 +151,7 @@ discard block |
||
151 | 151 | * A shortcut to with when calling without passing in a class, |
152 | 152 | * |
153 | 153 | * SearchVariant::call(...) ==== SearchVariant::with()->call(...); |
154 | + * @param string $method |
|
154 | 155 | */ |
155 | 156 | |
156 | 157 | public static function call($method, &...$args) |
@@ -161,6 +162,7 @@ discard block |
||
161 | 162 | /** |
162 | 163 | * Get the current state of every variant |
163 | 164 | * @static |
165 | + * @param string $class |
|
164 | 166 | * @return array |
165 | 167 | */ |
166 | 168 | public static function current_state($class = null, $includeSubclasses = true) |
@@ -194,7 +196,7 @@ discard block |
||
194 | 196 | * @static |
195 | 197 | * @param string $class - The class name to get variants for |
196 | 198 | * @param bool $includeSubclasses - True if variants should be included if they apply to at least one subclass of $class |
197 | - * @return SearchVariant_ReindexStateIteratorRet - The iterator to foreach loop over |
|
199 | + * @return \Traversable - The iterator to foreach loop over |
|
198 | 200 | */ |
199 | 201 | public static function reindex_states($class = null, $includeSubclasses = true) |
200 | 202 | { |