Skip to content
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.

Commit

Permalink
fix(hmr): Drop unused reference to SymfonyStyle object in InotifyHMR
Browse files Browse the repository at this point in the history
  • Loading branch information
k911 committed Feb 28, 2019
1 parent ac6fdcf commit 6b22485
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Server/Runtime/HMR/InotifyHMR.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Assert\Assertion;
use K911\Swoole\Server\Runtime\BootableInterface;
use Swoole\Server;
use Symfony\Component\Console\Style\SymfonyStyle;

final class InotifyHMR implements HotModuleReloaderInterface, BootableInterface
{
Expand All @@ -26,11 +25,6 @@ final class InotifyHMR implements HotModuleReloaderInterface, BootableInterface
*/
private $inotify;

/**
* @var SymfonyStyle|null
*/
private $symfonyStyle;

/**
* @param array $nonReloadableFiles
*
Expand Down Expand Up @@ -93,8 +87,6 @@ public function boot(array $runtimeConfiguration = []): void
$this->setNonReloadableFiles($runtimeConfiguration['nonReloadableFiles']);
}

$this->symfonyStyle = $runtimeConfiguration['symfonyStyle'] ?? null;

// Files included before server start cannot be reloaded due to PHP limitations
$this->setNonReloadableFiles(\get_included_files());
$this->initializeInotify();
Expand Down

0 comments on commit 6b22485

Please sign in to comment.