Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
Search only in files from YamlDriver instances
Browse files Browse the repository at this point in the history
  • Loading branch information
fmasa committed Nov 20, 2017
1 parent cf4b682 commit 47d2f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DoctrineYamlAnnotations/YamlReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ private function getDrivers(): array
$chain = $this->configuration->getMetadataDriverImpl();
$drivers = $chain instanceof MappingDriverChain ? $chain->getDrivers() : [$chain];

$this->drivers = $drivers;
$this->drivers = [];

foreach ($drivers as $driver) {
if ($driver instanceof YamlDriver) {
Expand Down

0 comments on commit 47d2f00

Please sign in to comment.