mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix linting issue.
This commit is contained in:
parent
a13a2cdd40
commit
fdb53311ba
@ -74,6 +74,5 @@ class GridFieldLazyLoader implements GridField_DataManipulator, GridField_HTMLPr
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user