@@ -81,7 +81,7 @@ |
||
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | /** |
| 84 | - * @return array |
|
| 84 | + * @return ParserDepartures |
|
| 85 | 85 | */ |
| 86 | 86 | protected function getParserDepartures() { |
| 87 | 87 | return $this->parserDepartures; |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * User: ms |
|
| 4 | - * Date: 29.08.15 |
|
| 5 | - * Time: 21:15 |
|
| 6 | - */ |
|
| 3 | + * User: ms |
|
| 4 | + * Date: 29.08.15 |
|
| 5 | + * Time: 21:15 |
|
| 6 | + */ |
|
| 7 | 7 | namespace Mvg\Factories; |
| 8 | 8 | |
| 9 | 9 | |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | return $this->departures; |
| 49 | 49 | } |
| 50 | 50 | |
| 51 | - if( true === empty($filter)) { |
|
| 51 | + if (true === empty($filter)) { |
|
| 52 | 52 | return $this->departures; |
| 53 | 53 | } |
| 54 | 54 | |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | /** |
| 66 | 66 | * found here http://stackoverflow.com/a/11871948 |
| 67 | 67 | * @param $input |
| 68 | - * @param $pad_length |
|
| 68 | + * @param integer $pad_length |
|
| 69 | 69 | * @param string $pad_string |
| 70 | 70 | * @param int $pad_type |
| 71 | 71 | * @return string |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * User: ms |
|
| 4 | - * Date: 29.08.15 |
|
| 5 | - * Time: 11:00 |
|
| 6 | - */ |
|
| 3 | + * User: ms |
|
| 4 | + * Date: 29.08.15 |
|
| 5 | + * Time: 11:00 |
|
| 6 | + */ |
|
| 7 | 7 | |
| 8 | 8 | namespace Mvg\TextOutput; |
| 9 | 9 | |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | |
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | - * @param Mvg\Parser\Html\NewsTicker $newsTickerParser |
|
| 21 | + * @param NewsTickerParser $newsTickerParser |
|
| 22 | 22 | */ |
| 23 | 23 | public function __construct(NewsTickerParser $newsTickerParser) { |
| 24 | 24 | |
@@ -45,6 +45,7 @@ discard block |
||
| 45 | 45 | |
| 46 | 46 | /** |
| 47 | 47 | * @param Mvg\Parser\Html\NewsTicker |
| 48 | + * @param NewsTickerParser $newsTickerParser |
|
| 48 | 49 | */ |
| 49 | 50 | protected function setNewsTickerParser($newsTickerParser) { |
| 50 | 51 | $this->newsTickerParser = $newsTickerParser; |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * User: ms |
|
| 4 | - * Date: 29.08.15 |
|
| 5 | - * Time: 09:35 |
|
| 6 | - */ |
|
| 3 | + * User: ms |
|
| 4 | + * Date: 29.08.15 |
|
| 5 | + * Time: 09:35 |
|
| 6 | + */ |
|
| 7 | 7 | namespace Mvg\RequestHandler\Html; |
| 8 | 8 | |
| 9 | 9 | use Zend\Http\Client; |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * User: ms |
|
| 4 | - * Date: 29.08.15 |
|
| 5 | - * Time: 09:36 |
|
| 6 | - */ |
|
| 3 | + * User: ms |
|
| 4 | + * Date: 29.08.15 |
|
| 5 | + * Time: 09:36 |
|
| 6 | + */ |
|
| 7 | 7 | |
| 8 | 8 | namespace Mvg\Parser\Html; |
| 9 | 9 | |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | $stringToAnalyze = trim(str_replace('Linie(n)', '', $item)); |
| 68 | 68 | $linesString = explode(':', $stringToAnalyze)[0]; |
| 69 | 69 | $object->affectedLines = explode(',', $linesString); |
| 70 | - array_walk($object->affectedLines, function (&$item) { |
|
| 70 | + array_walk($object->affectedLines, function(&$item) { |
|
| 71 | 71 | $item = trim($item); |
| 72 | 72 | }); |
| 73 | 73 | |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * User: ms |
|
| 4 | - * Date: 29.08.15 |
|
| 5 | - * Time: 12:37 |
|
| 6 | - */ |
|
| 3 | + * User: ms |
|
| 4 | + * Date: 29.08.15 |
|
| 5 | + * Time: 12:37 |
|
| 6 | + */ |
|
| 7 | 7 | |
| 8 | 8 | namespace Mvg\Parser\Html; |
| 9 | 9 | |
@@ -11,5 +11,5 @@ |
||
| 11 | 11 | |
| 12 | 12 | $b = new HttpGetInterruptions(); |
| 13 | 13 | |
| 14 | -$r =$b->doRequest(); |
|
| 14 | +$r = $b->doRequest(); |
|
| 15 | 15 | print_r($r); |
| 16 | 16 | \ No newline at end of file |