From 7d7a797ab43ca9fb6f3d09c5fa58d520fdb31048 Mon Sep 17 00:00:00 2001 From: ClownFish Date: Thu, 26 Nov 2020 15:14:31 +0800 Subject: [PATCH] format code --- src/phar/src/BuildCommand.php | 2 ++ src/phar/src/HyperfPhar.php | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/phar/src/BuildCommand.php b/src/phar/src/BuildCommand.php index e7955d94e..c6f9fb00e 100644 --- a/src/phar/src/BuildCommand.php +++ b/src/phar/src/BuildCommand.php @@ -27,6 +27,7 @@ class BuildCommand extends HyperfCommand /** * BuildCommand constructor. + * @param $container ContainerInterface */ public function __construct(ContainerInterface $container) { @@ -79,6 +80,7 @@ class BuildCommand extends HyperfCommand /** * @param $path + * @param string|null $version * @return HyperfPhar */ public function getPhar($path, ?string $version = null) diff --git a/src/phar/src/HyperfPhar.php b/src/phar/src/HyperfPhar.php index fd6640f82..9d1c083f4 100644 --- a/src/phar/src/HyperfPhar.php +++ b/src/phar/src/HyperfPhar.php @@ -48,8 +48,9 @@ class HyperfPhar private $main; /** + * HyperfPhar constructor. * @param ContainerInterface $container - * @param string $path path to composer.json file + * @param string $path */ public function __construct(ContainerInterface $container, string $path) {