API Remove default values from GridField class constructors

This commit is contained in:
Raissa North 2018-01-29 15:59:46 +13:00
parent b4d7530082
commit 12c4b717ed
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ class GridFieldCategorisationConfig extends GridFieldConfig_RecordEditor
* @param string $parentMethod
* @param string $childMethod
*/
public function __construct($itemsPerPage = 15, $mergeRecords, $parentType, $parentMethod, $childMethod)
public function __construct($itemsPerPage, $mergeRecords, $parentType, $parentMethod, $childMethod)
{
parent::__construct($itemsPerPage);

View File

@ -48,7 +48,7 @@ class GridFieldMergeAction implements GridField_ColumnProvider, GridField_Action
* @param string $parentMethod
* @param string $childMethod
*/
public function __construct($records = [], $parentType, $parentMethod, $childMethod)
public function __construct($records, $parentType, $parentMethod, $childMethod)
{
$this->records = $records;
$this->parentType = $parentType;