Skip to content

Commit c218d05

Browse files
committed
add type hinting CultureFeed_Uitpas_DistributionKey_Condition
1 parent c52bf99 commit c218d05

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

CultureFeed/CultureFeed/Uitpas/DistributionKey/Condition.php

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,14 @@ class CultureFeed_Uitpas_DistributionKey_Condition extends CultureFeed_Uitpas_Va
1414

1515
const VALUE_AT_LEAST_ONE_CARDSYSTEM = 'AT_LEAST_ONE_CARDSYSTEM';
1616

17-
/**
18-
* @var string The definition of the condition.
19-
*/
20-
public $definition;
21-
22-
/**
23-
* @var string The operator of the condition.
24-
*/
25-
public $operator;
26-
27-
/**
28-
* @var string The value of the condition.
29-
*/
30-
public $value;
31-
32-
public static function createFromXML(CultureFeed_SimpleXMLElement $object) {
17+
public string $definition;
18+
19+
public string $operator;
20+
21+
public string $value;
22+
23+
public static function createFromXML(CultureFeed_SimpleXMLElement $object): CultureFeed_Uitpas_DistributionKey_Condition
24+
{
3325

3426
$condition = new self();
3527

0 commit comments

Comments
 (0)