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 29, 2023
1 parent 39be138 commit 4d00e2f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6,734 deletions.
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
Loading

0 comments on commit 4d00e2f

Please sign in to comment.