Skip to content

Commit a3c3aa5

Browse files
committed
More precise ObjectProxy types
1 parent bbd950d commit a3c3aa5

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

src/Support/ObjectProxy.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,21 @@
1010

1111
namespace Deployer\Support;
1212

13+
use Deployer\Host\Host;
14+
15+
/**
16+
* @mixin Host
17+
*/
1318
class ObjectProxy
1419
{
1520
/**
16-
* @var array
21+
* @var array<Host>
1722
*/
1823
private $objects;
1924

25+
/**
26+
* @param array<Host> $objects
27+
*/
2028
public function __construct(array $objects)
2129
{
2230
$this->objects = $objects;

0 commit comments

Comments
 (0)