@@ -57,9 +57,9 @@ |
||
57 | 57 | { |
58 | 58 | $security = $this->_credentials['Enseigne']; |
59 | 59 | foreach ($params as $param) { |
60 | - $security.= $param; |
|
60 | + $security .= $param; |
|
61 | 61 | } |
62 | - $security.= $this->_credentials['Key']; |
|
62 | + $security .= $this->_credentials['Key']; |
|
63 | 63 | |
64 | 64 | print_r($security); |
65 | 65 | return strtoupper(md5($security)); |
@@ -39,16 +39,16 @@ |
||
39 | 39 | * @throws \Exception |
40 | 40 | */ |
41 | 41 | public function findPickupPoints(string $city, |
42 | - string $zipCode, |
|
43 | - string $country, |
|
44 | - int $nbResults = null, |
|
45 | - string $code = null, |
|
46 | - string $latitude = null, |
|
47 | - string $longitude = null, |
|
48 | - string $weight = null, |
|
49 | - string $collectType = null, |
|
50 | - string $sendingDelay = null, |
|
51 | - int $searchRadius = null) |
|
42 | + string $zipCode, |
|
43 | + string $country, |
|
44 | + int $nbResults = null, |
|
45 | + string $code = null, |
|
46 | + string $latitude = null, |
|
47 | + string $longitude = null, |
|
48 | + string $weight = null, |
|
49 | + string $collectType = null, |
|
50 | + string $sendingDelay = null, |
|
51 | + int $searchRadius = null) |
|
52 | 52 | { |
53 | 53 | $options = [ |
54 | 54 | 'Ville' => $city, |
@@ -72,7 +72,7 @@ |
||
72 | 72 | $result = $result->WSI4_PointRelais_RechercheResult->PointsRelais->PointRelais_Details; |
73 | 73 | |
74 | 74 | $pickupPoints = array_map( |
75 | - function ($pickupPoint) { |
|
75 | + function($pickupPoint) { |
|
76 | 76 | return new PickupPoint($pickupPoint); |
77 | 77 | }, |
78 | 78 | $result |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | ]; |
29 | 29 | |
30 | 30 | foreach ($days as $day => $dayFr) { |
31 | - $businessHours[$day] = OpeningHoursParser::_formatOpeningHoursDay($relayPoint->{'Horaires_' . $dayFr}->string); |
|
31 | + $businessHours[$day] = OpeningHoursParser::_formatOpeningHoursDay($relayPoint->{'Horaires_' . $dayFr}->string); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | $openingHours = OpeningHours::create($businessHours); |
@@ -73,6 +73,6 @@ discard block |
||
73 | 73 | */ |
74 | 74 | private static function _formatTime($hours) |
75 | 75 | { |
76 | - return implode(':', str_split($hours, 2)); |
|
76 | + return implode(':', str_split($hours, 2)); |
|
77 | 77 | } |
78 | 78 | } |
79 | 79 | \ No newline at end of file |