@@ -352,33 +352,33 @@ public function setColumns(array $columns)
352352 * Identifies a property in the specified or default selector to include in the tabular view of query results.
353353 * Replaces any previously specified columns to be selected if any.
354354 *
355+ * @param string $selectorName
355356 * @param string $propertyName
356357 * @param string $columnName
357- * @param string $selectorName
358358 *
359359 * @return QueryBuilder This QueryBuilder instance.
360360 */
361- public function select ($ propertyName , $ columnName = null , $ selectorName = null )
361+ public function select ($ selectorName , $ propertyName , $ columnName = null )
362362 {
363363 $ this ->state = self ::STATE_DIRTY ;
364- $ this ->columns = array ($ this ->qomFactory ->column ($ propertyName , $ columnName , $ selectorName ));
364+ $ this ->columns = array ($ this ->qomFactory ->column ($ selectorName , $ propertyName , $ columnName ));
365365
366366 return $ this ;
367367 }
368368
369369 /**
370370 * Adds a property in the specified or default selector to include in the tabular view of query results.
371371 *
372+ * @param string $selectorName
372373 * @param string $propertyName
373374 * @param string $columnName
374- * @param string $selectorName
375375 *
376376 * @return QueryBuilder This QueryBuilder instance.
377377 */
378- public function addSelect ($ propertyName , $ columnName = null , $ selectorName = null )
378+ public function addSelect ($ selectorName , $ propertyName , $ columnName = null )
379379 {
380380 $ this ->state = self ::STATE_DIRTY ;
381- $ this ->columns [] = $ this ->qomFactory ->column ($ propertyName , $ columnName , $ selectorName );
381+ $ this ->columns [] = $ this ->qomFactory ->column ($ selectorName , $ propertyName , $ columnName );
382382
383383 return $ this ;
384384 }
0 commit comments