Fixed line lengths

This commit is contained in:
Ingo Schommer 2013-01-11 09:59:33 +01:00
parent 7306d02411
commit 9e82d8e857
2 changed files with 7 additions and 3 deletions

View File

@ -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;

View File

@ -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