Completed
Push — dev2 ( 69ecf2...fdc527 )
by Gordon
03:22
created
src/SilverStripe/Elastica/Searchable.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -172,6 +172,9 @@  discard block
 block discarded – undo
172 172
 
173 173
 
174 174
 
175
+	/**
176
+	 * @param string $name
177
+	 */
175 178
 	private function addIndexedFields($name, &$spec) {
176 179
 		// in the case of a relationship type will not be set
177 180
 			if(isset($spec['type'])) {
@@ -209,6 +212,11 @@  discard block
 block discarded – undo
209 212
 	}
210 213
 
211 214
 
215
+	/**
216
+	 * @param string $name
217
+	 * @param boolean $storeMethodName
218
+	 * @param boolean $recurse
219
+	 */
212 220
 	private function assignSpecForHasOne($name, $resultType, &$spec, $storeMethodName, $recurse) {
213 221
 		$resultTypeInstance = \Injector::inst()->create($resultType);
214 222
 
@@ -230,6 +238,11 @@  discard block
 block discarded – undo
230 238
 	}
231 239
 
232 240
 
241
+	/**
242
+	 * @param string $name
243
+	 * @param boolean $storeMethodName
244
+	 * @param boolean $recurse
245
+	 */
233 246
 	private function assignSpecForManyRelationship($name, $resultType, &$spec, $storeMethodName, $recurse) {
234 247
 		$resultTypeInstance = \Injector::inst()->create($resultType);
235 248
 		$resultTypeMapping = array();
@@ -253,6 +266,9 @@  discard block
 block discarded – undo
253 266
 	}
254 267
 
255 268
 
269
+	/**
270
+	 * @param string $name
271
+	 */
256 272
 	private function assignSpecForStandardFieldType($name, $class, &$spec) {
257 273
 		if(($pos = strpos($class, '('))) {
258 274
 			// Valid in the case of Varchar(255)
Please login to merge, or discard this patch.