Skip to content

Commit 851a6b1

Browse files
committed
Add string typehint
1 parent 2df1f98 commit 851a6b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Compute/v2/Models/Server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ public function listInterfaceAttachments(array $options = []): \Generator
334334
* @param string $portId The unique ID of the port.
335335
* @return InterfaceAttachment
336336
*/
337-
public function getInterfaceAttachment($portId): InterfaceAttachment
337+
public function getInterfaceAttachment(string $portId): InterfaceAttachment
338338
{
339339
$response = $this->execute($this->api->getInterfaceAttachment(), [
340340
'id' => $this->id,

0 commit comments

Comments
 (0)