Fix linting issue.

This commit is contained in:
Maxime Rainville 2018-10-08 14:25:37 +13:00
parent a13a2cdd40
commit fdb53311ba
2 changed files with 2 additions and 3 deletions

View File

@ -74,6 +74,5 @@ class GridFieldLazyLoader implements GridField_DataManipulator, GridField_HTMLPr
} else {
return false;
}
}
}

View File

@ -113,7 +113,8 @@ class GridFieldLazyLoaderTest extends SapphireTest
* This GridField will be lazy because it doesn't have a `X-Pjax` header.
* @return GridField
*/
private function getHeaderlessGridField() {
private function getHeaderlessGridField()
{
$this->gridField->setRequest(new HTTPRequest('GET', 'admin/pages/edit/show/9999'));
$fieldList = FieldList::create(new TabSet("Root", new Tab("Main")));
$fieldList->addFieldToTab('Root.GridField', $this->gridField);
@ -149,5 +150,4 @@ class GridFieldLazyLoaderTest extends SapphireTest
Form::create(null, 'Form', $fieldList, FieldList::create());
return $this->gridField;
}
}