From 331b255b15088eb18d91a42f3b0c79fdb569a7bb Mon Sep 17 00:00:00 2001 From: Andre Klapper Date: Tue, 2 Jul 2024 20:53:23 +0200 Subject: [PATCH] Declare missing class properties Summary: Code in these classes tries to access undefined properties. Thus define these properties. Test Plan: Run PHPStan static code analysis; grep the code in each class. Reviewers: O1 Blessed Committers, valerio.bozzolan Reviewed By: O1 Blessed Committers, valerio.bozzolan Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D25712 --- src/future/postmark/PhutilPostmarkFuture.php | 1 + src/workingcopy/ArcanistWorkingCopyPath.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/future/postmark/PhutilPostmarkFuture.php b/src/future/postmark/PhutilPostmarkFuture.php index 23c21f47..fcf6e9d7 100644 --- a/src/future/postmark/PhutilPostmarkFuture.php +++ b/src/future/postmark/PhutilPostmarkFuture.php @@ -3,6 +3,7 @@ final class PhutilPostmarkFuture extends FutureProxy { private $future; + private $clientID; private $accessToken; private $method; private $parameters; diff --git a/src/workingcopy/ArcanistWorkingCopyPath.php b/src/workingcopy/ArcanistWorkingCopyPath.php index 217d5932..80b03bce 100644 --- a/src/workingcopy/ArcanistWorkingCopyPath.php +++ b/src/workingcopy/ArcanistWorkingCopyPath.php @@ -7,6 +7,7 @@ final class ArcanistWorkingCopyPath private $mode; private $data; private $binary; + private $mimeType; private $dataAsLines; private $charMap; private $lineMap;