Completed
Push — dev2 ( 24a813...6eabe6 )
by Gordon
04:20
created
src/SilverStripe/Elastica/SearchableHelper.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -45,6 +45,7 @@  discard block
 block discarded – undo
45 45
 	 * @param string &$name
46 46
 	 * @param boolean $storeMethodName
47 47
 	 * @param boolean $recurse
48
+	 * @param string $name
48 49
 	 */
49 50
 	public static function assignSpecForRelationship(&$name, $resultType, &$spec, $storeMethodName, $recurse) {
50 51
 		$resultTypeInstance = \Injector::inst()->create($resultType);
@@ -161,6 +162,9 @@  discard block
 block discarded – undo
161 162
 	}
162 163
 
163 164
 
165
+	/**
166
+	 * @param boolean $recurse
167
+	 */
164 168
 	public static function storeRelationshipValue($instance, $field, &$fields, $config, $recurse) {
165 169
 		if(isset($config['properties']['__method'])) {
166 170
 			$methodName = $config['properties']['__method'];
@@ -206,6 +210,9 @@  discard block
 block discarded – undo
206 210
 	}
207 211
 
208 212
 
213
+	/**
214
+	 * @param \DataObject $searchableClass
215
+	 */
209 216
 	public static function findOrCreateSearchableField($className, $fieldName, $searchableField, $searchableClass) {
210 217
 		$filter = array('ClazzName' => $className, 'Name' => $fieldName);
211 218
 		$doSF = \SearchableField::get()->filter($filter)->first();
Please login to merge, or discard this patch.