From 32645b65883d29fac6670a0d972f679cf53a5007 Mon Sep 17 00:00:00 2001 From: Stanislau Komar Date: Fri, 25 Nov 2022 20:14:46 +0400 Subject: [PATCH 1/2] v1.2 release --- src/Kernel.php | 3 +-- src/KernelBuilder.php | 3 +-- src/KernelInterface.php | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/Kernel.php b/src/Kernel.php index 396254e..c04fbaf 100755 --- a/src/Kernel.php +++ b/src/Kernel.php @@ -3,7 +3,6 @@ namespace Micro\Framework\Kernel; use Micro\Component\DependencyInjection\Container; -use Micro\Framework\Kernel\Plugin\ApplicationPluginInterface; use Micro\Framework\Kernel\Plugin\PluginBootLoaderInterface; class Kernel implements KernelInterface @@ -19,7 +18,7 @@ class Kernel implements KernelInterface private bool $isTerminated; /** - * @var ApplicationPluginInterface[] + * @var object[] */ private array $plugins; diff --git a/src/KernelBuilder.php b/src/KernelBuilder.php index 058c0f6..06dc50b 100755 --- a/src/KernelBuilder.php +++ b/src/KernelBuilder.php @@ -5,14 +5,13 @@ use Micro\Component\DependencyInjection\Container; use Micro\Framework\Kernel\Container\ApplicationContainerFactoryInterface; use Micro\Framework\Kernel\Container\Impl\ApplicationContainerFactory; -use Micro\Framework\Kernel\Plugin\ApplicationPluginInterface; use Micro\Framework\Kernel\Plugin\PluginBootLoaderInterface; use Psr\Container\ContainerInterface; class KernelBuilder { /** - * @var iterable + * @var iterable */ private iterable $pluginCollection; diff --git a/src/KernelInterface.php b/src/KernelInterface.php index 5aee707..9349b35 100755 --- a/src/KernelInterface.php +++ b/src/KernelInterface.php @@ -3,7 +3,6 @@ namespace Micro\Framework\Kernel; use Micro\Component\DependencyInjection\Container; -use Micro\Framework\Kernel\Plugin\ApplicationPluginInterface; interface KernelInterface { @@ -31,7 +30,7 @@ public function terminate(): void; /** * @param string|null $interfaceInherited * - * @return iterable + * @return iterable */ public function plugins(string $interfaceInherited = null): iterable; } From ab545407457bd8edc82340dbf22211c18a079a05 Mon Sep 17 00:00:00 2001 From: Stanislau Komar Date: Fri, 25 Nov 2022 20:15:57 +0400 Subject: [PATCH 2/2] Update version in composer --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 0609e27..8fb32b9 100755 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "micro/kernel", "type": "library", "description": "", - "version": "1.1", + "version": "1.2", "license": "MIT", "autoload": { "psr-4": {