From 9d0d7ab3601272ec66d2b13f6d606257926b2c40 Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Sat, 20 Oct 2018 11:34:05 -0500 Subject: [PATCH] Mark classes final --- lib/Process.php | 2 +- lib/ProcessInputStream.php | 2 +- lib/ProcessOutputStream.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Process.php b/lib/Process.php index 3cb1a35..c730330 100644 --- a/lib/Process.php +++ b/lib/Process.php @@ -11,7 +11,7 @@ use Amp\Process\Internal\Windows\Runner as WindowsProcessRunner; use Amp\Promise; use function Amp\call; -class Process +final class Process { /** @var ProcessRunner */ private $processRunner; diff --git a/lib/ProcessInputStream.php b/lib/ProcessInputStream.php index d6e473b..fb89817 100644 --- a/lib/ProcessInputStream.php +++ b/lib/ProcessInputStream.php @@ -11,7 +11,7 @@ use Amp\Failure; use Amp\Promise; use Amp\Success; -class ProcessInputStream implements InputStream +final class ProcessInputStream implements InputStream { /** @var Deferred */ private $initialRead; diff --git a/lib/ProcessOutputStream.php b/lib/ProcessOutputStream.php index a86abe4..d80ed70 100644 --- a/lib/ProcessOutputStream.php +++ b/lib/ProcessOutputStream.php @@ -10,7 +10,7 @@ use Amp\Deferred; use Amp\Failure; use Amp\Promise; -class ProcessOutputStream implements OutputStream +final class ProcessOutputStream implements OutputStream { /** @var \SplQueue */ private $queuedWrites;