Skip to content

Commit

Permalink
Fixed detected issue in isbc where refresh tokes is declared as annot…
Browse files Browse the repository at this point in the history
…ation and not as an xml
  • Loading branch information
rbatistadev authored and mmadariaga committed Nov 28, 2023
1 parent 39be138 commit 87e7192
Showing 1 changed file with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,23 @@ private function getDoctrineMappingConfig(): array
}

if (strpos($key, 'drivers') !== false) {
$paths = array_values($doctrine[$key]['xml']);

$xmlPaths = [];
if (array_key_exists('xml', $doctrine[$key])) {
$xmlPaths = array_values($doctrine[$key]['xml']);
}

$annotationPaths = [];
if (array_key_exists('annotation', $doctrine[$key])) {
$annotationPaths = array_values($doctrine[$key]['annotation']);
}

$phpPaths = [];
if (array_key_exists('php', $doctrine[$key])) {
$phpPaths = array_values($doctrine[$key]['php']);
}

$paths = array_merge($xmlPaths, $annotationPaths, $phpPaths);
continue;
}
}
Expand Down

0 comments on commit 87e7192

Please sign in to comment.