Skip to content

Commit 85b70bc

Browse files
committed
Fixing incorrect marker type
1 parent 4336c8e commit 85b70bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Common/Resource/OperatorResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function enumerate(array $def, array $userVals = [], callable $mapFn = nu
8080

8181
$requestFn = function ($marker) use ($operation, $userVals) {
8282
if ($marker) {
83-
$userVals['marker'] = $marker;
83+
$userVals['marker'] = (string)$marker;
8484
}
8585
return $this->sendRequest($operation, $userVals);
8686
};

src/Compute/v2/Models/Hypervisor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111
class Hypervisor extends OperatorResource implements Listable
1212
{
13-
/** @var int */
13+
/** @var string */
1414
public $id;
1515

1616
/** @var string */

0 commit comments

Comments
 (0)