Skip to content

Commit 1a7a9e1

Browse files
authored
null as an array offset is deprecated in php 8.5
null as an array offset is deprecated in php 8.5 "Using null as an array offset or when calling array_key_exists() is now deprecated. Instead an empty string should be used."
1 parent 9f3d8d9 commit 1a7a9e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

endpoints/lib/vboxServiceWrappers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public function __construct($connection, $handle)
235235

236236
public function __toString()
237237
{
238-
return (string)$this->NameMap[$this->_handle];
238+
return (string)$this->NameMap[$this->_handle ?? ''];
239239
}
240240
}
241241

0 commit comments

Comments
 (0)