Skip to content

Commit

Permalink
Merge pull request #5 from Micro-PHP/v1.2-release
Browse files Browse the repository at this point in the history
v1.2 release
  • Loading branch information
Asisyas authored Nov 25, 2022
2 parents 3361833 + ab54540 commit b3911f5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "micro/kernel",
"type": "library",
"description": "",
"version": "1.1",
"version": "1.2",
"license": "MIT",
"autoload": {
"psr-4": {
Expand Down
3 changes: 1 addition & 2 deletions src/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -19,7 +18,7 @@ class Kernel implements KernelInterface
private bool $isTerminated;

/**
* @var ApplicationPluginInterface[]
* @var object[]
*/
private array $plugins;

Expand Down
3 changes: 1 addition & 2 deletions src/KernelBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<ApplicationPluginInterface>
* @var iterable<object>
*/
private iterable $pluginCollection;

Expand Down
3 changes: 1 addition & 2 deletions src/KernelInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Micro\Framework\Kernel;

use Micro\Component\DependencyInjection\Container;
use Micro\Framework\Kernel\Plugin\ApplicationPluginInterface;

interface KernelInterface
{
Expand Down Expand Up @@ -31,7 +30,7 @@ public function terminate(): void;
/**
* @param string|null $interfaceInherited
*
* @return iterable<ApplicationPluginInterface>
* @return iterable<object>
*/
public function plugins(string $interfaceInherited = null): iterable;
}

0 comments on commit b3911f5

Please sign in to comment.