Completed
Push — master ( 913402...2b342c )
by Mark
16:33
created
code/helpers/FacetHelper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
 
323 323
 	/**
324 324
 	 * NOTE: this will break if applied to something that's not a SiteTree subclass.
325
-	 * @param DataList|PaginatedList $matches
325
+	 * @param SS_List $matches
326 326
 	 * @param array $facet
327 327
 	 * @param int $typeID
328 328
 	 */
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
 
360 360
 	/**
361 361
 	 * Builds facets from all attributes present in the data set.
362
-	 * @param DataList|PaginatedList $matches
362
+	 * @param SS_List $matches
363 363
 	 * @return array
364 364
 	 */
365 365
 	protected function buildAllAttributeFacets($matches) {
Please login to merge, or discard this patch.
code/helpers/HasStaticAttributes.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
 	/**
51 51
 	 * @param $typeID
52
-	 * @return callable
52
+	 * @return Closure
53 53
 	 */
54 54
 	protected function getValuesClosure($typeID) {
55 55
 		return function() use ($typeID) {
Please login to merge, or discard this patch.
code/helpers/VirtualFieldIndex.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@
 block discarded – undo
214 214
 	}
215 215
 
216 216
 	/**
217
-	 * @param $name
217
+	 * @param string $name
218 218
 	 * @return string
219 219
 	 */
220 220
 	public function getVFIFieldName($name) {
Please login to merge, or discard this patch.
code/ShopSearch.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@
 block discarded – undo
248 248
 
249 249
 	/**
250 250
 	 * @param string $str
251
-	 * @return SS_Query
251
+	 * @return SQLQuery
252 252
 	 */
253 253
 	public function getSuggestQuery($str='') {
254 254
 		$hasResults = 'CASE WHEN max("SearchLog"."NumResults") > 0 THEN 1 ELSE 0 END';
Please login to merge, or discard this patch.
code/ShopSearchControllerExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 
21 21
 	/**
22 22
 	 * @param SS_HTTPRequest $req
23
-	 * @return string
23
+	 * @return SS_HTTPResponse
24 24
 	 */
25 25
 	public function search_suggest(SS_HTTPRequest $req) {
26 26
 		/** @var SS_HTTPResponse $response */
Please login to merge, or discard this patch.