Skip to content

Commit

Permalink
Fix names
Browse files Browse the repository at this point in the history
  • Loading branch information
opdavies committed Dec 16, 2023
1 parent 69bf51b commit fa99fc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Action/CreateListOfFilesToGenerate.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace App\Action;

use App\DataTransferObject\Config;
use App\DataTransferObject\ConfigDto;
use App\DataTransferObject\TemplateFile;
use App\Enum\ProjectType;
use App\Enum\WebServer;
Expand All @@ -16,7 +16,7 @@ final class CreateListOfFilesToGenerate
public function handle(array $configurationDataAndDto, \Closure $next)
{
/**
* @var Config $configurationDataDto,
* @var ConfigDto $configDto,
* @var array<string,mixed> $configurationData
*/
[$configurationData, $configDto] = $configurationDataAndDto;
Expand Down
4 changes: 2 additions & 2 deletions src/Command/GenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use App\Action\CreateListOfFilesToGenerate;
use App\Action\GenerateConfigurationFiles;
use App\Action\ValidateConfigurationData;
use App\DataTransferObject\Config;
use App\DataTransferObject\ConfigDto;
use App\DataTransferObject\TemplateFile;
use Illuminate\Pipeline\Pipeline;
use Illuminate\Support\Collection;
Expand Down Expand Up @@ -77,7 +77,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int

/**
* @var Collection<int,TemplateFile> $generatedFiles
* @var Config $configurationData
* @var ConfigDto $configurationData
*/
[$configurationData, $generatedFiles] = (new Pipeline())
->send($configFile)
Expand Down

0 comments on commit fa99fc0

Please sign in to comment.