Skip to content

Commit

Permalink
Fix invalid phpdocs missing null
Browse files Browse the repository at this point in the history
  • Loading branch information
janedbal authored and ondrejmirtes committed Feb 1, 2023
1 parent 288f850 commit 36a5c72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Internal/ComposerHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ final class ComposerHelper

private static ?string $phpstanVersion = null;

/** @return array<string, mixed> */
/** @return array<string, mixed>|null */
public static function getComposerConfig(string $root): ?array
{
$composerJsonPath = self::getComposerJsonPath($root);
Expand Down
2 changes: 1 addition & 1 deletion src/Type/CallableType.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class CallableType implements CompoundType, ParametersAcceptor

/**
* @api
* @param array<int, ParameterReflection> $parameters
* @param array<int, ParameterReflection>|null $parameters
*/
public function __construct(
?array $parameters = null,
Expand Down

0 comments on commit 36a5c72

Please sign in to comment.