Skip to content

Commit

Permalink
TASK: fix type annotions in sync command, remove further unneeded com…
Browse files Browse the repository at this point in the history
…ments
  • Loading branch information
andrehoffmann30 committed Jun 5, 2024
1 parent d3fc549 commit be964a5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Classes/Command/ElasticCommandController.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class ElasticCommandController extends CommandController
* @throws Exception
* @throws SynchronizationException
*/
public function syncCommand(string $preset, $yes = false): void
public function syncCommand(string $preset, bool $yes = false): void
{
try {
$this->runSynchronisation($preset, $yes);
Expand Down
2 changes: 0 additions & 2 deletions Classes/Configuration/PresetConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ class PresetConfiguration

/**
* PresetConfiguration constructor.
* @param array $presetConfiguration
* @param string $presetName
* @throws ConfigurationException
*/
public function __construct(array $presetConfiguration, string $presetName)
Expand Down
1 change: 0 additions & 1 deletion Classes/Configuration/RemoteInstanceConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class RemoteInstanceConfiguration

/**
* RemoteInstanceConfiguration constructor.
* @param array $remoteInstanceConfiguration
*/
public function __construct(array $remoteInstanceConfiguration)
{
Expand Down

0 comments on commit be964a5

Please sign in to comment.