Skip to content

Commit 3ecc739

Browse files
derrabusnicolas-grekas
authored andcommitted
Fix inconsistent return points.
1 parent b719bec commit 3ecc739

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Definition/Dumper/XmlReferenceDumper.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,5 +306,7 @@ private function writeValue($value)
306306
if (\is_array($value)) {
307307
return implode(',', $value);
308308
}
309+
310+
return '';
309311
}
310312
}

Loader/FileLoader.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,7 @@ private function doImport($resource, $type = null, $ignoreErrors = false, $sourc
168168
throw new FileLoaderLoadException($resource, $sourceResource, null, $e, $type);
169169
}
170170
}
171+
172+
return null;
171173
}
172174
}

0 commit comments

Comments
 (0)