Skip to content

Commit

Permalink
Merge pull request #287 from reliforp/renovate/psalm-phar-5.x-lockfile
Browse files Browse the repository at this point in the history
Update dependency psalm/phar to v5.15.0
  • Loading branch information
sj-i authored Aug 22, 2023
2 parents 09fb2c8 + 8c240f6 commit 7756cf5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/Lib/Amphp/worker-entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@
use Psr\Log\LoggerInterface;

return function (Channel $channel) use ($argv): void {
assert(count($argv) === 4);
/**
* @var class-string<WorkerEntryPointInterface> $entry_class
* @var class-string<MessageProtocolInterface> $protocol_class
* @var string $di_config
*/
[, $entry_class, $protocol_class, $di_config] = $argv;
assert(is_string($di_config));
$container = (new ContainerBuilder())->addDefinitions($di_config)->build();
/** @var LoggerInterface $logger */
$logger = $container->make(LoggerInterface::class);
Expand Down

0 comments on commit 7756cf5

Please sign in to comment.