@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | } |
| 34 | 34 | $route = null; |
| 35 | 35 | |
| 36 | - if ($route_id === null) { |
|
| 36 | + if ($route_id===null) { |
|
| 37 | 37 | throw new ApiError('There is no any route.'); |
| 38 | 38 | } |
| 39 | 39 | |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | } |
| 52 | 52 | $vehicle = null; |
| 53 | 53 | |
| 54 | - if ($vehicle_id === null) { |
|
| 54 | + if ($vehicle_id===null) { |
|
| 55 | 55 | throw new ApiError('There is no any vehicle.'); |
| 56 | 56 | } |
| 57 | 57 | |
@@ -83,5 +83,5 @@ discard block |
||
| 83 | 83 | |
| 84 | 84 | print_r($route_schedule); |
| 85 | 85 | } catch (\Exception $e) { |
| 86 | - echo $e->getMessage() . PHP_EOL; |
|
| 86 | + echo $e->getMessage().PHP_EOL; |
|
| 87 | 87 | } |
@@ -26,5 +26,5 @@ |
||
| 26 | 26 | |
| 27 | 27 | print_r($schedule); |
| 28 | 28 | } catch (\Exception $e) { |
| 29 | - echo $e->getMessage() . PHP_EOL; |
|
| 29 | + echo $e->getMessage().PHP_EOL; |
|
| 30 | 30 | } |
@@ -30,5 +30,5 @@ |
||
| 30 | 30 | |
| 31 | 31 | print_r($schedule); |
| 32 | 32 | } catch (\Exception $e) { |
| 33 | - echo $e->getMessage() . PHP_EOL; |
|
| 33 | + echo $e->getMessage().PHP_EOL; |
|
| 34 | 34 | } |
@@ -20,5 +20,5 @@ |
||
| 20 | 20 | $schedule = $schedules->getSchedule('1515E9A65DD2DEF79CAD7A7E68D91515'); |
| 21 | 21 | print_r($schedule); |
| 22 | 22 | } catch (\Exception $e) { |
| 23 | - echo $e->getMessage() . PHP_EOL; |
|
| 23 | + echo $e->getMessage().PHP_EOL; |
|
| 24 | 24 | } |
@@ -23,5 +23,5 @@ |
||
| 23 | 23 | $schedule = $schedules->getScheduledRoutesCopies($route_id, $schedule_uid, $route_date); |
| 24 | 24 | print_r($schedule); |
| 25 | 25 | } catch (\Exception $e) { |
| 26 | - echo $e->getMessage() . PHP_EOL; |
|
| 26 | + echo $e->getMessage().PHP_EOL; |
|
| 27 | 27 | } |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | $list = $schedules->getAllSchedules(); |
| 23 | 23 | print_r($list); |
| 24 | 24 | } catch (\Exception $e) { |
| 25 | - echo $e->getMessage() . PHP_EOL; |
|
| 25 | + echo $e->getMessage().PHP_EOL; |
|
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | //********************************************************************** |
@@ -31,5 +31,5 @@ discard block |
||
| 31 | 31 | $list = $schedules->getSchedules(2, 5); |
| 32 | 32 | print_r($list); |
| 33 | 33 | } catch (\Exception $e) { |
| 34 | - echo $e->getMessage() . PHP_EOL; |
|
| 34 | + echo $e->getMessage().PHP_EOL; |
|
| 35 | 35 | } |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | $list = $schedules->getAllRouteSchedules(); |
| 23 | 23 | print_r($list); |
| 24 | 24 | } catch (\Exception $e) { |
| 25 | - echo $e->getMessage() . PHP_EOL; |
|
| 25 | + echo $e->getMessage().PHP_EOL; |
|
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | //********************************************************************** |
@@ -31,5 +31,5 @@ discard block |
||
| 31 | 31 | $list = $schedules->getRouteSchedules(1, 5); |
| 32 | 32 | print_r($list); |
| 33 | 33 | } catch (\Exception $e) { |
| 34 | - echo $e->getMessage() . PHP_EOL; |
|
| 34 | + echo $e->getMessage().PHP_EOL; |
|
| 35 | 35 | } |
@@ -20,5 +20,5 @@ |
||
| 20 | 20 | $schedule = $schedules->deleteRouteSchedule('66C2AC4A323053FF0A40FEB6918ACF5E'); |
| 21 | 21 | print_r($schedule); |
| 22 | 22 | } catch (\Exception $e) { |
| 23 | - echo $e->getMessage() . PHP_EOL; |
|
| 23 | + echo $e->getMessage().PHP_EOL; |
|
| 24 | 24 | } |
@@ -28,5 +28,5 @@ |
||
| 28 | 28 | |
| 29 | 29 | print_r($schedule); |
| 30 | 30 | } catch (\Exception $e) { |
| 31 | - echo $e->getMessage() . PHP_EOL; |
|
| 31 | + echo $e->getMessage().PHP_EOL; |
|
| 32 | 32 | } |