Skip to content

Commit

Permalink
Fix psalm issues
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk committed May 18, 2024
1 parent 6c148a8 commit a610a7d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
</ignoreFiles>
</projectFiles>
<issueHandlers>
<DeprecatedInterface>
<errorLevel type="suppress">
<file name="src/Commands/InfoCommand.php"/>
<file name="src/DeclarationLocator.php"/>
</errorLevel>
</DeprecatedInterface>
<PropertyNotSetInConstructor>
<errorLevel type="suppress">
<file name="src/Commands/Scaffolder/ActivityCommand.php"/>
Expand Down
2 changes: 1 addition & 1 deletion src/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function serve(): void
/**
* @var array<class-string<WorkflowInterface>|class-string<ActivityInterface>, ReflectionClass> $declarations
*/
$declarations = $this->container->get(DeclarationLocatorInterface::class)->getDeclarations();
$declarations = $this->container->get(DeclarationRegistryInterface::class)->getDeclarations();

// factory initiates and runs task queue specific activity and workflow workers
/** @var WorkerFactoryInterface $factory */
Expand Down

0 comments on commit a610a7d

Please sign in to comment.