|
@@ -21,7 +21,7 @@ discard block |
|
|
block discarded – undo |
|
21
|
21
|
use Mvg\RequestHandler\Html\HttpGetDepartures; |
|
22
|
22
|
use Mvg\TextOutput\NewsTicker as NewsTickerOutput; |
|
23
|
23
|
|
|
24
|
|
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'vendor/autoload.php'; |
|
|
24
|
+require_once dirname(__FILE__).DIRECTORY_SEPARATOR.'vendor/autoload.php'; |
|
25
|
25
|
|
|
26
|
26
|
|
|
27
|
27
|
try { |
|
@@ -63,7 +63,7 @@ discard block |
|
|
block discarded – undo |
|
63
|
63
|
$parser = new Departures($result); |
|
64
|
64
|
$departures = $parser->getDepartures(); |
|
65
|
65
|
if (0 === count($departures)) { |
|
66
|
|
- echo "Station '" . $searchForStation . "' unknown\n"; |
|
|
66
|
+ echo "Station '".$searchForStation."' unknown\n"; |
|
67
|
67
|
echo "Did you mean?\n"; |
|
68
|
68
|
$stationParser = new Stations($result); |
|
69
|
69
|
echo (new TextOutputStations($stationParser))->getOutput(); |
Please login to merge, or discard this patch.