From adc0395c2564d21a23639afca5bcd18914463d7a Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Fri, 4 May 2018 13:57:25 +1200 Subject: [PATCH] Automated linting --- src/Model/Subsite.php | 2 +- tests/php/SubsiteTest.php | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Model/Subsite.php b/src/Model/Subsite.php index 18fd6de..69dca93 100644 --- a/src/Model/Subsite.php +++ b/src/Model/Subsite.php @@ -842,7 +842,7 @@ class Subsite extends DataObject parent::onAfterWrite(); } - /** + /** * Automatically create default pages for new subsites */ protected function createDefaultPages() diff --git a/tests/php/SubsiteTest.php b/tests/php/SubsiteTest.php index 21e8f97..8e360cb 100644 --- a/tests/php/SubsiteTest.php +++ b/tests/php/SubsiteTest.php @@ -475,13 +475,13 @@ class SubsiteTest extends BaseSubsiteTest } public function testDefaultPageCreatedWhenCreatingSubsite() - { + { $subsite = new Subsite(); $subsite->Title = 'New Subsite'; $subsite->write(); - $subsite->activate(); + $subsite->activate(); - $pages = SiteTree::get(); - $this->assertGreaterThanOrEqual(1, $pages->count()); - } + $pages = SiteTree::get(); + $this->assertGreaterThanOrEqual(1, $pages->count()); + } }