Skip to content

Commit b47b62f

Browse files
authored
Merge pull request #10 from ByteInternet/fix_phpdocs_type
Fix phpdocs type hinting for after deploy tasks
2 parents 0274775 + a548c71 commit b47b62f

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

src/Configuration.php

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,15 @@ class Configuration
8787
private $deployCommands = [];
8888

8989
/**
90-
* Commands to execute after successful deploy. Commonly used to send deploy email or push a New Relic deploy tag.
91-
* These commands are run on the production server(s).
90+
* Configurations for after deploy tasks. Commonly used to send deploy email or push a New Relic deploy tag.
91+
* These after deploy tasks are run on the production server(s).
9292
*
93-
* @var Command[]
93+
* @see \Hypernode\DeployConfiguration\AfterDeployTask\Cloudflare
94+
* @see \Hypernode\DeployConfiguration\AfterDeployTask\EmailNotification
95+
* @see \Hypernode\DeployConfiguration\AfterDeployTask\NewRelic
96+
* @see \Hypernode\DeployConfiguration\AfterDeployTask\SlackWebhook
97+
*
98+
* @var TaskConfigurationInterface[]
9499
*/
95100
private $afterDeployTasks = [];
96101

@@ -360,15 +365,15 @@ public function addDeployCommand(DeployCommand $command): self
360365
}
361366

362367
/**
363-
* @return Command[]
368+
* @return TaskConfigurationInterface[]
364369
*/
365370
public function getAfterDeployTasks(): array
366371
{
367372
return $this->afterDeployTasks;
368373
}
369374

370375
/**
371-
* @param Command[] $afterDeployTasks
376+
* @param TaskConfigurationInterface[] $afterDeployTasks
372377
* @return $this
373378
*/
374379
public function setAfterDeployTasks($afterDeployTasks): self

0 commit comments

Comments
 (0)