Skip to content

Commit 60826d8

Browse files
committed
Force Count to int
1 parent 56f44fd commit 60826d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WmiScripting/Support/ApiObjects/SWbemObjectSet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __construct(VariantWrapper $variant, array $resolve_property_set
3535
{
3636
parent::__construct($variant);
3737

38-
$this->count = $this->object->Count;
38+
$this->count = (int) $this->object->Count;
3939
$this->resolve_property_sets = $resolve_property_sets;
4040
$this->set = new ObjectSetCollection();
4141
$this->buildSet();

0 commit comments

Comments
 (0)