mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fixed line lengths
This commit is contained in:
parent
7306d02411
commit
9e82d8e857
@ -85,8 +85,9 @@ class TreeDropdownField extends FormField {
|
||||
* @param bool $showSearch enable the ability to search the tree by
|
||||
* entering the text in the input field.
|
||||
*/
|
||||
public function __construct($name, $title = null, $sourceObject = 'Group', $keyField = 'ID', $labelField = 'TreeTitle',
|
||||
$showSearch = false) {
|
||||
public function __construct($name, $title = null, $sourceObject = 'Group', $keyField = 'ID',
|
||||
$labelField = 'TreeTitle', $showSearch = false
|
||||
) {
|
||||
|
||||
$this->sourceObject = $sourceObject;
|
||||
$this->keyField = $keyField;
|
||||
|
@ -75,7 +75,10 @@ class VersionedTest extends SapphireTest {
|
||||
*/
|
||||
public function testGetIncludingDeleted() {
|
||||
// Get all ids of pages
|
||||
$allPageIDs = DataObject::get('VersionedTest_DataObject', "\"ParentID\" = 0", "\"VersionedTest_DataObject\".\"ID\" ASC")->column('ID');
|
||||
$allPageIDs = DataObject::get(
|
||||
'VersionedTest_DataObject',
|
||||
"\"ParentID\" = 0", "\"VersionedTest_DataObject\".\"ID\" ASC"
|
||||
)->column('ID');
|
||||
|
||||
// Modify a page, ensuring that the Version ID and Record ID will differ,
|
||||
// and then subsequently delete it
|
||||
|
Loading…
Reference in New Issue
Block a user