GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#2)
by
unknown
07:12
created
examples/Activities/GetActivities.php 3 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
     require $vdir.'/../vendor/autoload.php';
7 7
 	
8 8
 	use Route4Me\Route4Me;
9
-	use Route4Me\Route;
10 9
 	
11 10
 	// Set the api key in the Route4Me class
12 11
 	Route4Me::setApiKey('11111111111111111111111111111111');
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 	namespace Route4Me;
3 3
 	
4
-	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
4
+	$vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6 6
     require $vdir.'/../vendor/autoload.php';
7 7
 	
@@ -11,15 +11,15 @@  discard block
 block discarded – undo
11 11
 	// Set the api key in the Route4Me class
12 12
 	Route4Me::setApiKey('11111111111111111111111111111111');
13 13
 	
14
-	$activityParameters=ActivityParameters::fromArray(array(
14
+	$activityParameters = ActivityParameters::fromArray(array(
15 15
 		"limit"		=> 10,
16 16
 		"offset"	=> 0
17 17
 	));
18 18
 	
19
-	$activities=new ActivityParameters();
20
-	$actresults=$activities->get($activityParameters);
19
+	$activities = new ActivityParameters();
20
+	$actresults = $activities->get($activityParameters);
21 21
 	
22
-	$results=$activities->getValue($actresults,"results");
22
+	$results = $activities->getValue($actresults, "results");
23 23
 	
24 24
 	Route4Me::simplePrint($results);
25 25
 	 
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 	
4 4
 	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6
-    require $vdir.'/../vendor/autoload.php';
6
+	require $vdir.'/../vendor/autoload.php';
7 7
 	
8 8
 	use Route4Me\Route4Me;
9 9
 	use Route4Me\Route;
Please login to merge, or discard this patch.
examples/Activities/SearchActivities.php 3 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
     require $vdir.'/../vendor/autoload.php';
7 7
 	
8 8
 	use Route4Me\Route4Me;
9
-	use Route4Me\Route;
10 9
 	
11 10
 	// Example refers to activities by activity_type parameter.
12 11
 	
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 	
4 4
 	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6
-    require $vdir.'/../vendor/autoload.php';
6
+	require $vdir.'/../vendor/autoload.php';
7 7
 	
8 8
 	use Route4Me\Route4Me;
9 9
 	use Route4Me\Route;
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 	namespace Route4Me;
3 3
 	
4
-	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
4
+	$vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6 6
     require $vdir.'/../vendor/autoload.php';
7 7
 	
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 	// Set the api key in the Route4Me class
14 14
 	Route4Me::setApiKey('11111111111111111111111111111111');
15 15
 	
16
-	$activityParameters=ActivityParameters::fromArray(array(
16
+	$activityParameters = ActivityParameters::fromArray(array(
17 17
 		"activity_type"	=> "area-removed",
18 18
 		"limit"		=> 5,
19 19
 		"offset"	=> 0
@@ -24,9 +24,9 @@  discard block
 block discarded – undo
24 24
 	// "mark-destination-visited", "member-created", "member-deleted", "member-modified", "note-insert", "route-delete", "route-optimized", 
25 25
 	// "route-owner-changed"
26 26
 	
27
-	$activities=new ActivityParameters();
27
+	$activities = new ActivityParameters();
28 28
 	
29
-	$results=$activities->searcActivities($activityParameters);
29
+	$results = $activities->searcActivities($activityParameters);
30 30
 	
31 31
 	foreach ($results as $key => $activity) {
32 32
 		Route4Me::simplePrint($activity);
Please login to merge, or discard this patch.
examples/Activities/SendUserMessage.php 3 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
     require $vdir.'/../vendor/autoload.php';
7 7
 	
8 8
 	use Route4Me\Route4Me;
9
-	use Route4Me\AvtivityParameters;
10 9
 	
11 10
 	// Set the api key in the Route4me class
12 11
 	Route4Me::setApiKey('11111111111111111111111111111111');
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 	
4 4
 	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6
-    require $vdir.'/../vendor/autoload.php';
6
+	require $vdir.'/../vendor/autoload.php';
7 7
 	
8 8
 	use Route4Me\Route4Me;
9 9
 	use Route4Me\AvtivityParameters;
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 	namespace Route4Me;
3 3
 	
4
-	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
4
+	$vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6 6
     require $vdir.'/../vendor/autoload.php';
7 7
 	
@@ -11,15 +11,15 @@  discard block
 block discarded – undo
11 11
 	// Set the api key in the Route4me class
12 12
 	Route4Me::setApiKey('11111111111111111111111111111111');
13 13
 	
14
-	$postParameters=ActivityParameters::fromArray(array(
14
+	$postParameters = ActivityParameters::fromArray(array(
15 15
 		"activity_type"	=> "user_message",
16 16
 		"activity_message"	=> "Hello - php!",
17 17
 		"route_id"	=> "2EA70721624592FC41522A708603876D"
18 18
 	));
19 19
 	
20
-	$activities=new ActivityParameters();
20
+	$activities = new ActivityParameters();
21 21
 	
22
-	$results=$activities->sendUserMessage($postParameters);
22
+	$results = $activities->sendUserMessage($postParameters);
23 23
 	
24 24
 	foreach ($results as $key => $result) {
25 25
 		echo "$key ----> <br>";
Please login to merge, or discard this patch.
examples/AddressBook/AddAddressBookLocation.php 3 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
     require $vdir.'/../vendor/autoload.php';
7 7
 	
8 8
 	use Route4Me\Route4Me;
9
-	use Route4Me\Route;
10 9
 	
11 10
 	// Set the api key in the Route4me class
12 11
 	Route4Me::setApiKey('11111111111111111111111111111111');
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 	namespace Route4Me;
3 3
 	
4
-	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
4
+	$vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6 6
     require $vdir.'/../vendor/autoload.php';
7 7
 	
@@ -11,16 +11,16 @@  discard block
 block discarded – undo
11 11
 	// Set the api key in the Route4me class
12 12
 	Route4Me::setApiKey('11111111111111111111111111111111');
13 13
 	
14
-	$AdressBookLocationParameters=AddressBookLocation::fromArray(array(
15
-		"first_name"	=> "Test FirstName ".strval(rand(10000,99999)),
16
-		"address_1"		=> "Test Address1 ".strval(rand(10000,99999)),
14
+	$AdressBookLocationParameters = AddressBookLocation::fromArray(array(
15
+		"first_name"	=> "Test FirstName ".strval(rand(10000, 99999)),
16
+		"address_1"		=> "Test Address1 ".strval(rand(10000, 99999)),
17 17
 		"cached_lat"	=> 38.024654,
18 18
 		"cached_lng"	=> -77.338814
19 19
 	));
20 20
 	
21
-	$abContacts=new AddressBookLocation();
21
+	$abContacts = new AddressBookLocation();
22 22
 	
23
-	$abcResults=$abContacts->addAdressBookLocation($AdressBookLocationParameters);
23
+	$abcResults = $abContacts->addAdressBookLocation($AdressBookLocationParameters);
24 24
 	
25 25
 	echo "address_id = ".strval($abcResults["address_id"])."<br>";
26 26
 	
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 	
4 4
 	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6
-    require $vdir.'/../vendor/autoload.php';
6
+	require $vdir.'/../vendor/autoload.php';
7 7
 	
8 8
 	use Route4Me\Route4Me;
9 9
 	use Route4Me\Route;
Please login to merge, or discard this patch.
examples/Addresses/RemoveDestinationFromOptimization.php 3 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
     require $vdir.'/../vendor/autoload.php';
7 7
 	
8 8
 	use Route4Me\Route4Me;
9
-	use Route4Me\Address;
10 9
 	use Route4Me\OptimizationProblem;
11 10
 	
12 11
 	// Set the api key in the Route4Me class
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 	
4 4
 	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6
-    require $vdir.'/../vendor/autoload.php';
6
+	require $vdir.'/../vendor/autoload.php';
7 7
 	
8 8
 	use Route4Me\Route4Me;
9 9
 	use Route4Me\Address;
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 	namespace Route4Me;
3 3
 	
4
-	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
4
+	$vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6 6
     require $vdir.'/../vendor/autoload.php';
7 7
 	
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 	//--------------------------------------------------------
17 17
 	$optimization = new OptimizationProblem();
18 18
 	
19
-	$optimization_problem=$optimization->getRandomOptimizationId(0, 10);
19
+	$optimization_problem = $optimization->getRandomOptimizationId(0, 10);
20 20
 	
21 21
 	if (is_null($optimization_problem)) {
22 22
 		echo "can't retrieve random optimization_problem_id!.. Try again.";
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 	//--------------------------------------------------------
26 26
 	// Get random destination from selected optimization above
27 27
 	//--------------------------------------------------------
28
-	$addressRand= (array)$optimization->getRandomAddressFromOptimization($optimization_problem['optimization_problem_id']);
28
+	$addressRand = (array)$optimization->getRandomAddressFromOptimization($optimization_problem['optimization_problem_id']);
29 29
 	
30 30
 	if (is_null($addressRand)) {
31 31
 		echo "can't retrieve random address!.. Try again.";
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 		}
40 40
 	}
41 41
 	
42
-	$route_destination_id=$addressRand['route_destination_id'];
42
+	$route_destination_id = $addressRand['route_destination_id'];
43 43
 	
44 44
 	if (is_null($route_destination_id)) {
45 45
 		echo "can't retrieve random address!.. Try again.";
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 	
49 49
 	echo "route_destination_id = $route_destination_id <br>";
50 50
 	//--------------------------------------------------------
51
-	$params = array (
51
+	$params = array(
52 52
 		"optimization_problem_id"  => $optimization_problem['optimization_problem_id'],
53 53
 		"route_destination_id"     => $route_destination_id
54 54
 	);
Please login to merge, or discard this patch.
examples/Addresses/RemoveRouteDestination.php 3 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 	
8 8
 	use Route4Me\Route4Me;
9 9
 	use Route4Me\Route;
10
-	use Route4Me\OptimizationProblem;
11 10
 	
12 11
 	// Set the api key in the Route4Me class
13 12
 	Route4Me::setApiKey('11111111111111111111111111111111');
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 	namespace Route4Me;
3 3
 	
4
-	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
4
+	$vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6 6
     require $vdir.'/../vendor/autoload.php';
7 7
 	
@@ -14,9 +14,9 @@  discard block
 block discarded – undo
14 14
 	
15 15
 	// Get random route from test routes
16 16
 	//--------------------------------------------------------
17
-	$route=new Route();
17
+	$route = new Route();
18 18
 	
19
-	$route_id=$route->getRandomRouteId(0, 10);
19
+	$route_id = $route->getRandomRouteId(0, 10);
20 20
 	
21 21
 	if (is_null($route_id)) {
22 22
 		echo "can't retrieve random route_id!.. Try again.";
@@ -26,8 +26,8 @@  discard block
 block discarded – undo
26 26
 	
27 27
 	// Get random destination from selected route above
28 28
 	//--------------------------------------------------------
29
-	$addressRand=(array)$route->GetRandomAddressFromRoute($route_id);
30
-	$route_destination_id=$addressRand['route_destination_id'];
29
+	$addressRand = (array)$route->GetRandomAddressFromRoute($route_id);
30
+	$route_destination_id = $addressRand['route_destination_id'];
31 31
 	
32 32
 	if (is_null($route_destination_id)) {
33 33
 		echo "can't retrieve random address!.. Try again.";
@@ -37,11 +37,11 @@  discard block
 block discarded – undo
37 37
 	echo "route_destination_id = $route_destination_id <br>";
38 38
 	//--------------------------------------------------------
39 39
 	
40
-	$address=new Address();
40
+	$address = new Address();
41 41
 	
42 42
 	$address->route_id = $route_id;
43 43
 	$address->route_destination_id = $route_destination_id;
44
-	$result=$address->delete();
44
+	$result = $address->delete();
45 45
 	
46 46
 	var_dump($result);
47 47
 ?>
48 48
\ No newline at end of file
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 	
4 4
 	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6
-    require $vdir.'/../vendor/autoload.php';
6
+	require $vdir.'/../vendor/autoload.php';
7 7
 	
8 8
 	use Route4Me\Route4Me;
9 9
 	use Route4Me\Route;
Please login to merge, or discard this patch.
examples/AvoidanceZones/GetAvoidanceZones.php 3 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
     require $vdir.'/../vendor/autoload.php';
7 7
 	
8 8
 	use Route4Me\Route4Me;
9
-	use Route4Me\Enum\TerritoryTypes;
10 9
 	// Set the api key in the Route4Me class
11 10
 	Route4Me::setApiKey('11111111111111111111111111111111');
12 11
 	
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 	namespace Route4Me;
3 3
 	
4
-	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
4
+	$vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6 6
     require $vdir.'/../vendor/autoload.php';
7 7
 	
@@ -10,9 +10,9 @@  discard block
 block discarded – undo
10 10
 	// Set the api key in the Route4Me class
11 11
 	Route4Me::setApiKey('11111111111111111111111111111111');
12 12
 	
13
-	$avoidancezone=new AvoidanceZone();
13
+	$avoidancezone = new AvoidanceZone();
14 14
 	
15
-	$queryparameters=array (
15
+	$queryparameters = array(
16 16
 		"offset" => 0,
17 17
 		"limit" => 20
18 18
 	);
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 	
4 4
 	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6
-    require $vdir.'/../vendor/autoload.php';
6
+	require $vdir.'/../vendor/autoload.php';
7 7
 	
8 8
 	use Route4Me\Route4Me;
9 9
 	use Route4Me\Enum\TerritoryTypes;
Please login to merge, or discard this patch.
examples/Geocoding/forward_geocode.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 	require $vdir.'/../vendor/autoload.php';
7 7
 	
8 8
 	use Route4Me\Route4Me;
9
-	use Route4Me\Route;
10 9
 	
11 10
 	// Set the api key in the Route4me class
12 11
 	Route4Me::setApiKey('11111111111111111111111111111111');
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 	namespace Route4Me;
3 3
 	
4
-	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
4
+	$vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 	
6 6
 	require $vdir.'/../vendor/autoload.php';
7 7
 	
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 	// Set the api key in the Route4me class
12 12
 	Route4Me::setApiKey('11111111111111111111111111111111');
13 13
 	
14
-	$geocodingParameters=array(
14
+	$geocodingParameters = array(
15 15
 		'format' => 'xml',
16 16
 		'addresses' => 'Los20%Angeles20%International20%Airport,20%CA'
17 17
 	);
Please login to merge, or discard this patch.
examples/multiple_depot_with_time_window.php 4 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,14 +6,12 @@
 block discarded – undo
6 6
 use Route4Me\Enum\OptimizationType;
7 7
 use Route4Me\OptimizationProblem;
8 8
 use Route4Me\OptimizationProblemParams;
9
-use Route4Me\Enum\AlgorithmType;
10 9
 use Route4Me\Enum\DistanceUnit;
11 10
 use Route4Me\Enum\DeviceType;
12 11
 use Route4Me\Enum\TravelMode;
13 12
 use Route4Me\Enum\Metric;
14 13
 use Route4Me\RouteParameters;
15 14
 use Route4Me\Address;
16
-use Route4Me\Route;
17 15
 
18 16
 Route4Me::setApiKey('11111111111111111111111111111111');
19 17
 
Please login to merge, or discard this patch.
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -22,23 +22,23 @@
 block discarded – undo
22 22
 
23 23
 $addresses = array();
24 24
 foreach($json as $address) {
25
-    $addresses[] = Address::fromArray($address);
25
+	$addresses[] = Address::fromArray($address);
26 26
 }
27 27
 
28 28
 $parameters = RouteParameters::fromArray(array(
29
-    "algorithm_type"          => Algorithmtype::CVRP_TW_SD,
30
-    "route_name"			  => "Multiple Depot, Multiple Driver, Time Window",
31
-    "route_date"			  => time() + 24*60*60,
32
-    "route_time"			  => 60 * 60 * 7,
33
-    "rt"					  => TRUE,
34
-    "distance_unit"           => DistanceUnit::MILES,
35
-    "device_type"             => DeviceType::WEB,
36
-    "optimize"                => OptimizationType::TIME,
37
-    "metric"                  => Metric::GEODESIC,
38
-    "route_max_duration"      => 86400 * 3,
39
-    "travel_mode"             => TravelMode::DRIVING,
40
-    "vehicle_capacity"        => 99,
41
-    "vehicle_max_distance_mi" => 99999
29
+	"algorithm_type"          => Algorithmtype::CVRP_TW_SD,
30
+	"route_name"			  => "Multiple Depot, Multiple Driver, Time Window",
31
+	"route_date"			  => time() + 24*60*60,
32
+	"route_time"			  => 60 * 60 * 7,
33
+	"rt"					  => TRUE,
34
+	"distance_unit"           => DistanceUnit::MILES,
35
+	"device_type"             => DeviceType::WEB,
36
+	"optimize"                => OptimizationType::TIME,
37
+	"metric"                  => Metric::GEODESIC,
38
+	"route_max_duration"      => 86400 * 3,
39
+	"travel_mode"             => TravelMode::DRIVING,
40
+	"vehicle_capacity"        => 99,
41
+	"vehicle_max_distance_mi" => 99999
42 42
 ));
43 43
 
44 44
 $optimizationParams = new OptimizationProblemParams;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,14 +21,14 @@
 block discarded – undo
21 21
 $json = json_decode(file_get_contents('./addresses.json'), true);
22 22
 
23 23
 $addresses = array();
24
-foreach($json as $address) {
24
+foreach ($json as $address) {
25 25
     $addresses[] = Address::fromArray($address);
26 26
 }
27 27
 
28 28
 $parameters = RouteParameters::fromArray(array(
29 29
     "algorithm_type"          => Algorithmtype::CVRP_TW_SD,
30 30
     "route_name"			  => "Multiple Depot, Multiple Driver, Time Window",
31
-    "route_date"			  => time() + 24*60*60,
31
+    "route_date"			  => time() + 24 * 60 * 60,
32 32
     "route_time"			  => 60 * 60 * 7,
33 33
     "rt"					  => TRUE,
34 34
     "distance_unit"           => DistanceUnit::MILES,
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@
 block discarded – undo
51 51
 	if (is_string($value))
52 52
 	{
53 53
 		echo $key." --> ".$value."<br>";
54
-	}
55
-	else 
54
+	} else 
56 55
 	{
57 56
 		echo "************ $key ************* <br>";
58 57
 		Route4Me::simplePrint((array)$value);
Please login to merge, or discard this patch.