Skip to content

Commit

Permalink
Add return typehints
Browse files Browse the repository at this point in the history
  • Loading branch information
tvlooy committed Oct 31, 2019
1 parent 7249af9 commit 365f8e9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Structure/LinuxHostings/LinuxHosting.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ public function getPhpVersion(): string
return $this->phpVersion;
}

/**
* @return Site[]
*/
public function getSites(): array
{
return $this->sites;
Expand Down
3 changes: 3 additions & 0 deletions src/Structure/LinuxHostings/Site.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public function getPath(): string
return $this->path;
}

/**
* @return HostHeader[]
*/
public function getHostHeaders(): array
{
return $this->hostHeaders;
Expand Down
3 changes: 3 additions & 0 deletions src/Structure/ProvisioningJobs/ProvisioningJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ public function getEstimate(): ?\DateTime
return $this->estimate;
}

/**
* @return ResourceLink[]
*/
public function getResourceLinks(): array
{
return $this->resourceLinks;
Expand Down

0 comments on commit 365f8e9

Please sign in to comment.