/**
* Parse and insert all given entries.
- *
- * @param array $entries
*/
protected function parseEntries(array $entries)
{
foreach ($entries as $importedEntry) {
if ((array) $importedEntry !== $importedEntry) {
- break;
+ continue;
}
$entry = $this->parseEntry($importedEntry);
if (null === $entry) {
- break;
+ continue;
}
// @see AbstractImport
*
* Faster parse entries for Producer.
* We don't care to make check at this time. They'll be done by the consumer.
- *
- * @param array $entries
*/
protected function parseEntriesForProducer(array $entries)
{
foreach ($entries as $importedEntry) {
if ((array) $importedEntry !== $importedEntry) {
- break;
+ continue;
}
// set userId for the producer (it won't know which user is connected)