Jacek Kowalski
2019-06-21 459fb4dbb32a20c3597f8fa7da4e5b1e2d439508
Rename $jsonContent to $finalMapping
1 files modified
4 ■■■■ changed files
parse.php 4 ●●●● patch | view | raw | blame | history
parse.php
@@ -82,12 +82,12 @@
        
        $db->addMapping($mapping);
        
        createMapping($db, $source['mapper'], $source);
        $finalMapping = createMapping($db, $source['mapper'], $source);
        
        
        $logger->info('Creating vehicle list...');
        
        createVehiclesList($mapper->getTTSSTrips(), $jsonContent, $source);
        createVehiclesList($mapper->getTTSSTrips(), $finalMapping, $source);
        
        $logger->info('Finished');
    } catch(Throwable $e) {