Completed
Push — master ( 033e0d...9f16e9 )
by Risan Bagja
03:08
created
src/Mappers/DepartureMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
      */
168 168
     private function createDepartures(array $items, $type, $subType)
169 169
     {
170
-        return array_map(function ($departure) use ($type, $subType) {
170
+        return array_map(function($departure) use ($type, $subType) {
171 171
             return new Departure(
172 172
                 $departure['LineNumber'],
173 173
                 $type,
Please login to merge, or discard this patch.
src/Collections/DepartureCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      */
17 17
     public function type($type)
18 18
     {
19
-        return $this->filter(function (DepartureInterface $departure) use ($type) {
19
+        return $this->filter(function(DepartureInterface $departure) use ($type) {
20 20
             return $departure->type() === $type;
21 21
         });
22 22
     }
Please login to merge, or discard this patch.