Passed
Branch master (f8328a)
by Gaël
02:53
created
src/Client.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,9 +57,9 @@
 block discarded – undo
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));
Please login to merge, or discard this patch.
src/DeliveryChoice.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -39,16 +39,16 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Resources/OpeningHoursParser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.