From f87ffc41ce697929908a8710436c7c556bae3c60 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Mon, 15 Jun 2015 07:54:12 -0700 Subject: [PATCH] Fix another undeclared property Summary: I think that I've caught the bulk of these issues now. Test Plan: Eyeball it. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D13296 --- .../drydock/util/DrydockBlueprintScopeGuard.php | 2 ++ .../releeph/view/branch/ReleephBranchTemplate.php | 7 +------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/applications/drydock/util/DrydockBlueprintScopeGuard.php b/src/applications/drydock/util/DrydockBlueprintScopeGuard.php index 6f4564789c..343428683b 100644 --- a/src/applications/drydock/util/DrydockBlueprintScopeGuard.php +++ b/src/applications/drydock/util/DrydockBlueprintScopeGuard.php @@ -2,6 +2,8 @@ final class DrydockBlueprintScopeGuard extends Phobject { + private $blueprint; + public function __construct(DrydockBlueprintImplementation $blueprint) { $this->blueprint = $blueprint; } diff --git a/src/applications/releeph/view/branch/ReleephBranchTemplate.php b/src/applications/releeph/view/branch/ReleephBranchTemplate.php index d1564c55bb..f29e7a9fc2 100644 --- a/src/applications/releeph/view/branch/ReleephBranchTemplate.php +++ b/src/applications/releeph/view/branch/ReleephBranchTemplate.php @@ -5,7 +5,7 @@ final class ReleephBranchTemplate extends Phobject { const KEY = 'releeph.default-branch-template'; private $commitHandle; - private $branchDate; + private $branchDate = null; private $projectName; private $isSymbolic; @@ -41,11 +41,6 @@ final class ReleephBranchTemplate extends Phobject { return $fake_handle; } - private $commitHandle; - private $branchDate = null; - private $projectName; - private $isSymbolic; - public function setCommitHandle(PhabricatorObjectHandle $handle) { $this->commitHandle = $handle; return $this;