Skip to content

Commit e2f1547

Browse files
pjcdawkinsCopilot
andauthored
Update legacy/src/Service/Relationships.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 247c263 commit e2f1547

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

legacy/src/Service/Relationships.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public function isMariaDB(array $database): bool
239239
*/
240240
public function isOracleDB(array $database): bool
241241
{
242-
return isset($database['type']) && \strpos($database['type'], 'oracle-mysql:') === 0;
242+
return isset($database['type']) && str_starts_with((string) $database['type'], 'oracle-mysql:');
243243
}
244244

245245
/**

0 commit comments

Comments
 (0)