Skip to content

Commit

Permalink
fix(em): phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Jan 12, 2024
1 parent 24b7dcb commit 4f4977b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ConfigureComposerController implements RequestHandlerInterface
protected $composerValidator;

/**
* @var ConfigureComposerValidator
* @var ConfigureAuthValidator
*/
protected $authValidator;

Expand Down Expand Up @@ -118,7 +118,7 @@ protected function composerConfig(ServerRequestInterface $request): array
foreach ($this->configurable as $key) {
$composerJson[$key] = Arr::get($composerJson, $key, Arr::get($default, $key));

if (is_null($composerJson[$key]) && ! is_null($default[$key])) {
if (is_null($composerJson[$key])) {
$composerJson[$key] = $default[$key];
}
}
Expand Down

0 comments on commit 4f4977b

Please sign in to comment.