Skip to content

Commit d6fef1b

Browse files
authored
Boolean condition only in ConditionalProxy
See #2 (comment)
1 parent 2c1403a commit d6fef1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ConditionalProxy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ class ConditionalProxy
99

1010
/**
1111
* @param object $object
12-
* @param $condition
12+
* @param bool $condition
1313
*/
14-
public function __construct($object, $condition)
14+
public function __construct($object, bool $condition)
1515
{
1616
$this->object = $object;
1717
$this->condition = $condition;

0 commit comments

Comments
 (0)