Passed
Push — master ( c2713f...a7325b )
by Mario
03:32
created
Components/Klarna/Exceptions.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -724,10 +724,10 @@
 block discarded – undo
724 724
 class Klarna_XMLParseException extends KlarnaException
725 725
 {
726 726
         /**
727
-     * Constructor
728
-     *
729
-     * @param string $file filename
730
-     */
727
+         * Constructor
728
+         *
729
+         * @param string $file filename
730
+         */
731 731
     public function __construct($file)
732 732
     {
733 733
         parent::__construct("Unable to parse XML file: {$file}!");
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public function __toString()
36 36
     {
37
-        return $this->getMessage() . " (#".$this->code.")";
37
+        return $this->getMessage()." (#".$this->code.")";
38 38
     }
39 39
 }
40 40
 
Please login to merge, or discard this patch.
Components/Klarna/Language.php 1 patch
Spacing   +166 added lines, -166 removed lines patch added patch discarded remove patch
@@ -129,172 +129,172 @@
 block discarded – undo
129 129
      * @var array
130 130
      */
131 131
     private static $_languages = array(
132
-        'AA' => 1,    // Afar
133
-        'AB' => 2,    // Abkhazian
134
-        'AE' => 3,    // Avestan
135
-        'AF' => 4,    // Afrikaans
136
-        'AM' => 5,    // Amharic
137
-        'AR' => 6,    // Arabic
138
-        'AS' => 7,    // Assamese
139
-        'AY' => 8,    // Aymara
140
-        'AZ' => 9,    // Azerbaijani
141
-        'BA' => 10,    // Bashkir
142
-        'BE' => 11,    // Byelorussian; Belarusian
143
-        'BG' => 12,    // Bulgarian
144
-        'BH' => 13,    // Bihari
145
-        'BI' => 14,    // Bislama
146
-        'BN' => 15,    // Bengali; Bangla
147
-        'BO' => 16,    // Tibetan
148
-        'BR' => 17,    // Breton
149
-        'BS' => 18,    // Bosnian
150
-        'CA' => 19,    // Catalan
151
-        'CE' => 20,    // Chechen
152
-        'CH' => 21,    // Chamorro
153
-        'CO' => 22,    // Corsican
154
-        'CS' => 23,    // Czech
155
-        'CU' => 24,    // Church Slavic
156
-        'CV' => 25,    // Chuvash
157
-        'CY' => 26,    // Welsh
158
-        'DA' => 27,    // Danish
159
-        'DE' => 28,    // German
160
-        'DZ' => 29,    // Dzongkha; Bhutani
161
-        'EL' => 30,    // Greek
162
-        'EN' => 31,    // English
163
-        'EO' => 32,    // Esperanto
164
-        'ES' => 33,    // Spanish
165
-        'ET' => 34,    // Estonian
166
-        'EU' => 35,    // Basque
167
-        'FA' => 36,    // Persian
168
-        'FI' => 37,    // Finnish
169
-        'FJ' => 38,    // Fijian; Fiji
170
-        'FO' => 39,    // Faroese
171
-        'FR' => 40,    // French
172
-        'FY' => 41,    // Frisian
173
-        'GA' => 42,    // Irish
174
-        'GD' => 43,    // Scots; Gaelic
175
-        'GL' => 44,    // Gallegan; Galician
176
-        'GN' => 45,    // Guarani
177
-        'GU' => 46,    // Gujarati
178
-        'GV' => 47,    // Manx
179
-        'HA' => 48,    // Hausa
180
-        'HE' => 49,    // Hebrew (formerly iw)
181
-        'HI' => 50,    // Hindi
182
-        'HO' => 51,    // Hiri Motu
183
-        'HR' => 52,    // Croatian
184
-        'HU' => 53,    // Hungarian
185
-        'HY' => 54,    // Armenian
186
-        'HZ' => 55,    // Herero
187
-        'IA' => 56,    // Interlingua
188
-        'ID' => 57,    // Indonesian (formerly in)
189
-        'IE' => 58,    // Interlingue
190
-        'IK' => 59,    // Inupiak
191
-        'IO' => 60,    // Ido
192
-        'IS' => 61,    // Icelandic
193
-        'IT' => 62,    // Italian
194
-        'IU' => 63,    // Inuktitut
195
-        'JA' => 64,    // Japanese
196
-        'JV' => 65,    // Javanese
197
-        'KA' => 66,    // Georgian
198
-        'KI' => 67,    // Kikuyu
199
-        'KJ' => 68,    // Kuanyama
200
-        'KK' => 69,    // Kazakh
201
-        'KL' => 70,    // Kalaallisut; Greenlandic
202
-        'KM' => 71,    // Khmer; Cambodian
203
-        'KN' => 72,    // Kannada
204
-        'KO' => 73,    // Korean
205
-        'KS' => 74,    // Kashmiri
206
-        'KU' => 75,    // Kurdish
207
-        'KV' => 76,    // Komi
208
-        'KW' => 77,    // Cornish
209
-        'KY' => 78,    // Kirghiz
210
-        'LA' => 79,    // Latin
211
-        'LB' => 80,    // Letzeburgesch
212
-        'LN' => 81,    // Lingala
213
-        'LO' => 82,    // Lao; Laotian
214
-        'LT' => 83,    // Lithuanian
215
-        'LV' => 84,    // Latvian; Lettish
216
-        'MG' => 85,    // Malagasy
217
-        'MH' => 86,    // Marshall
218
-        'MI' => 87,    // Maori
219
-        'MK' => 88,    // Macedonian
220
-        'ML' => 89,    // Malayalam
221
-        'MN' => 90,    // Mongolian
222
-        'MO' => 91,    // Moldavian
223
-        'MR' => 92,    // Marathi
224
-        'MS' => 93,    // Malay
225
-        'MT' => 94,    // Maltese
226
-        'MY' => 95,    // Burmese
227
-        'NA' => 96,    // Nauru
228
-        'NB' => 97,    // Norwegian Bokmål
229
-        'ND' => 98,    // Ndebele, North
230
-        'NE' => 99,    // Nepali
231
-        'NG' => 100,    // Ndonga
232
-        'NL' => 101,    // Dutch
233
-        'NN' => 102,    // Norwegian Nynorsk
234
-        'NO' => 103,    // Norwegian
235
-        'NR' => 104,    // Ndebele, South
236
-        'NV' => 105,    // Navajo
237
-        'NY' => 106,    // Chichewa; Nyanja
238
-        'OC' => 107,    // Occitan; Provençal
239
-        'OM' => 108,    // (Afan) Oromo
240
-        'OR' => 109,    // Oriya
241
-        'OS' => 110,    // Ossetian; Ossetic
242
-        'PA' => 111,    // Panjabi; Punjabi
243
-        'PI' => 112,    // Pali
244
-        'PL' => 113,    // Polish
245
-        'PS' => 114,    // Pashto, Pushto
246
-        'PT' => 115,    // Portuguese
247
-        'QU' => 116,    // Quechua
248
-        'RM' => 117,    // Rhaeto-Romance
249
-        'RN' => 118,    // Rundi; Kirundi
250
-        'RO' => 119,    // Romanian
251
-        'RU' => 120,    // Russian
252
-        'RW' => 121,    // Kinyarwanda
253
-        'SA' => 122,    // Sanskrit
254
-        'SC' => 123,    // Sardinian
255
-        'SD' => 124,    // Sindhi
256
-        'SE' => 125,    // Northern Sami
257
-        'SG' => 126,    // Sango; Sangro
258
-        'SI' => 127,    // Sinhalese
259
-        'SK' => 128,    // Slovak
260
-        'SL' => 129,    // Slovenian
261
-        'SM' => 130,    // Samoan
262
-        'SN' => 131,    // Shona
263
-        'SO' => 132,    // Somali
264
-        'SQ' => 133,    // Albanian
265
-        'SR' => 134,    // Serbian
266
-        'SS' => 135,    // Swati; Siswati
267
-        'ST' => 136,    // Sesotho; Sotho, Southern
268
-        'SU' => 137,    // Sundanese
269
-        'SV' => 138,    // Swedish
270
-        'SW' => 139,    // Swahili
271
-        'TA' => 140,    // Tamil
272
-        'TE' => 141,    // Telugu
273
-        'TG' => 142,    // Tajik
274
-        'TH' => 143,    // Thai
275
-        'TI' => 144,    // Tigrinya
276
-        'TK' => 145,    // Turkmen
277
-        'TL' => 146,    // Tagalog
278
-        'TN' => 147,    // Tswana; Setswana
279
-        'TO' => 148,    // Tongan
280
-        'TR' => 149,    // Turkish
281
-        'TS' => 150,    // Tsonga
282
-        'TT' => 151,    // Tatar
283
-        'TW' => 152,    // Twi
284
-        'TY' => 153,    // Tahitian
285
-        'UG' => 154,    // Uighur
286
-        'UK' => 155,    // Ukrainian
287
-        'UR' => 156,    // Urdu
288
-        'UZ' => 157,    // Uzbek
289
-        'VI' => 158,    // Vietnamese
290
-        'VO' => 159,    // Volapuk
291
-        'WA' => 160,    // Walloon
292
-        'WO' => 161,    // Wolof
293
-        'XH' => 162,    // Xhosa
294
-        'YI' => 163,    // Yiddish (formerly ji)
295
-        'YO' => 164,    // Yoruba
296
-        'ZA' => 165,    // Zhuang
297
-        'ZH' => 166,    // Chinese
132
+        'AA' => 1, // Afar
133
+        'AB' => 2, // Abkhazian
134
+        'AE' => 3, // Avestan
135
+        'AF' => 4, // Afrikaans
136
+        'AM' => 5, // Amharic
137
+        'AR' => 6, // Arabic
138
+        'AS' => 7, // Assamese
139
+        'AY' => 8, // Aymara
140
+        'AZ' => 9, // Azerbaijani
141
+        'BA' => 10, // Bashkir
142
+        'BE' => 11, // Byelorussian; Belarusian
143
+        'BG' => 12, // Bulgarian
144
+        'BH' => 13, // Bihari
145
+        'BI' => 14, // Bislama
146
+        'BN' => 15, // Bengali; Bangla
147
+        'BO' => 16, // Tibetan
148
+        'BR' => 17, // Breton
149
+        'BS' => 18, // Bosnian
150
+        'CA' => 19, // Catalan
151
+        'CE' => 20, // Chechen
152
+        'CH' => 21, // Chamorro
153
+        'CO' => 22, // Corsican
154
+        'CS' => 23, // Czech
155
+        'CU' => 24, // Church Slavic
156
+        'CV' => 25, // Chuvash
157
+        'CY' => 26, // Welsh
158
+        'DA' => 27, // Danish
159
+        'DE' => 28, // German
160
+        'DZ' => 29, // Dzongkha; Bhutani
161
+        'EL' => 30, // Greek
162
+        'EN' => 31, // English
163
+        'EO' => 32, // Esperanto
164
+        'ES' => 33, // Spanish
165
+        'ET' => 34, // Estonian
166
+        'EU' => 35, // Basque
167
+        'FA' => 36, // Persian
168
+        'FI' => 37, // Finnish
169
+        'FJ' => 38, // Fijian; Fiji
170
+        'FO' => 39, // Faroese
171
+        'FR' => 40, // French
172
+        'FY' => 41, // Frisian
173
+        'GA' => 42, // Irish
174
+        'GD' => 43, // Scots; Gaelic
175
+        'GL' => 44, // Gallegan; Galician
176
+        'GN' => 45, // Guarani
177
+        'GU' => 46, // Gujarati
178
+        'GV' => 47, // Manx
179
+        'HA' => 48, // Hausa
180
+        'HE' => 49, // Hebrew (formerly iw)
181
+        'HI' => 50, // Hindi
182
+        'HO' => 51, // Hiri Motu
183
+        'HR' => 52, // Croatian
184
+        'HU' => 53, // Hungarian
185
+        'HY' => 54, // Armenian
186
+        'HZ' => 55, // Herero
187
+        'IA' => 56, // Interlingua
188
+        'ID' => 57, // Indonesian (formerly in)
189
+        'IE' => 58, // Interlingue
190
+        'IK' => 59, // Inupiak
191
+        'IO' => 60, // Ido
192
+        'IS' => 61, // Icelandic
193
+        'IT' => 62, // Italian
194
+        'IU' => 63, // Inuktitut
195
+        'JA' => 64, // Japanese
196
+        'JV' => 65, // Javanese
197
+        'KA' => 66, // Georgian
198
+        'KI' => 67, // Kikuyu
199
+        'KJ' => 68, // Kuanyama
200
+        'KK' => 69, // Kazakh
201
+        'KL' => 70, // Kalaallisut; Greenlandic
202
+        'KM' => 71, // Khmer; Cambodian
203
+        'KN' => 72, // Kannada
204
+        'KO' => 73, // Korean
205
+        'KS' => 74, // Kashmiri
206
+        'KU' => 75, // Kurdish
207
+        'KV' => 76, // Komi
208
+        'KW' => 77, // Cornish
209
+        'KY' => 78, // Kirghiz
210
+        'LA' => 79, // Latin
211
+        'LB' => 80, // Letzeburgesch
212
+        'LN' => 81, // Lingala
213
+        'LO' => 82, // Lao; Laotian
214
+        'LT' => 83, // Lithuanian
215
+        'LV' => 84, // Latvian; Lettish
216
+        'MG' => 85, // Malagasy
217
+        'MH' => 86, // Marshall
218
+        'MI' => 87, // Maori
219
+        'MK' => 88, // Macedonian
220
+        'ML' => 89, // Malayalam
221
+        'MN' => 90, // Mongolian
222
+        'MO' => 91, // Moldavian
223
+        'MR' => 92, // Marathi
224
+        'MS' => 93, // Malay
225
+        'MT' => 94, // Maltese
226
+        'MY' => 95, // Burmese
227
+        'NA' => 96, // Nauru
228
+        'NB' => 97, // Norwegian Bokmål
229
+        'ND' => 98, // Ndebele, North
230
+        'NE' => 99, // Nepali
231
+        'NG' => 100, // Ndonga
232
+        'NL' => 101, // Dutch
233
+        'NN' => 102, // Norwegian Nynorsk
234
+        'NO' => 103, // Norwegian
235
+        'NR' => 104, // Ndebele, South
236
+        'NV' => 105, // Navajo
237
+        'NY' => 106, // Chichewa; Nyanja
238
+        'OC' => 107, // Occitan; Provençal
239
+        'OM' => 108, // (Afan) Oromo
240
+        'OR' => 109, // Oriya
241
+        'OS' => 110, // Ossetian; Ossetic
242
+        'PA' => 111, // Panjabi; Punjabi
243
+        'PI' => 112, // Pali
244
+        'PL' => 113, // Polish
245
+        'PS' => 114, // Pashto, Pushto
246
+        'PT' => 115, // Portuguese
247
+        'QU' => 116, // Quechua
248
+        'RM' => 117, // Rhaeto-Romance
249
+        'RN' => 118, // Rundi; Kirundi
250
+        'RO' => 119, // Romanian
251
+        'RU' => 120, // Russian
252
+        'RW' => 121, // Kinyarwanda
253
+        'SA' => 122, // Sanskrit
254
+        'SC' => 123, // Sardinian
255
+        'SD' => 124, // Sindhi
256
+        'SE' => 125, // Northern Sami
257
+        'SG' => 126, // Sango; Sangro
258
+        'SI' => 127, // Sinhalese
259
+        'SK' => 128, // Slovak
260
+        'SL' => 129, // Slovenian
261
+        'SM' => 130, // Samoan
262
+        'SN' => 131, // Shona
263
+        'SO' => 132, // Somali
264
+        'SQ' => 133, // Albanian
265
+        'SR' => 134, // Serbian
266
+        'SS' => 135, // Swati; Siswati
267
+        'ST' => 136, // Sesotho; Sotho, Southern
268
+        'SU' => 137, // Sundanese
269
+        'SV' => 138, // Swedish
270
+        'SW' => 139, // Swahili
271
+        'TA' => 140, // Tamil
272
+        'TE' => 141, // Telugu
273
+        'TG' => 142, // Tajik
274
+        'TH' => 143, // Thai
275
+        'TI' => 144, // Tigrinya
276
+        'TK' => 145, // Turkmen
277
+        'TL' => 146, // Tagalog
278
+        'TN' => 147, // Tswana; Setswana
279
+        'TO' => 148, // Tongan
280
+        'TR' => 149, // Turkish
281
+        'TS' => 150, // Tsonga
282
+        'TT' => 151, // Tatar
283
+        'TW' => 152, // Twi
284
+        'TY' => 153, // Tahitian
285
+        'UG' => 154, // Uighur
286
+        'UK' => 155, // Ukrainian
287
+        'UR' => 156, // Urdu
288
+        'UZ' => 157, // Uzbek
289
+        'VI' => 158, // Vietnamese
290
+        'VO' => 159, // Volapuk
291
+        'WA' => 160, // Walloon
292
+        'WO' => 161, // Wolof
293
+        'XH' => 162, // Xhosa
294
+        'YI' => 163, // Yiddish (formerly ji)
295
+        'YO' => 164, // Yoruba
296
+        'ZA' => 165, // Zhuang
297
+        'ZH' => 166, // Chinese
298 298
         'ZU' => 167     // Zulu
299 299
     );
300 300
 }
Please login to merge, or discard this patch.
Components/KlarnaCheckout/Checkout.php 1 patch
Spacing   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -26,25 +26,25 @@
 block discarded – undo
26 26
  * @link      http://integration.klarna.com/
27 27
  */
28 28
 
29
-define('KLARNA_CHECKOUT_DIR', dirname(__file__) . '/Checkout');
29
+define('KLARNA_CHECKOUT_DIR', dirname(__file__).'/Checkout');
30 30
 
31
-require_once KLARNA_CHECKOUT_DIR . '/ConnectorInterface.php';
32
-require_once KLARNA_CHECKOUT_DIR . '/ResourceInterface.php';
33
-require_once KLARNA_CHECKOUT_DIR . '/Connector.php';
34
-require_once KLARNA_CHECKOUT_DIR . '/BasicConnector.php';
35
-require_once KLARNA_CHECKOUT_DIR . '/Order.php';
36
-require_once KLARNA_CHECKOUT_DIR . '/Digest.php';
37
-require_once KLARNA_CHECKOUT_DIR . '/Exception.php';
38
-require_once KLARNA_CHECKOUT_DIR . '/ConnectionErrorException.php';
39
-require_once KLARNA_CHECKOUT_DIR . '/ConnectorException.php';
40
-require_once KLARNA_CHECKOUT_DIR . '/UserAgent.php';
31
+require_once KLARNA_CHECKOUT_DIR.'/ConnectorInterface.php';
32
+require_once KLARNA_CHECKOUT_DIR.'/ResourceInterface.php';
33
+require_once KLARNA_CHECKOUT_DIR.'/Connector.php';
34
+require_once KLARNA_CHECKOUT_DIR.'/BasicConnector.php';
35
+require_once KLARNA_CHECKOUT_DIR.'/Order.php';
36
+require_once KLARNA_CHECKOUT_DIR.'/Digest.php';
37
+require_once KLARNA_CHECKOUT_DIR.'/Exception.php';
38
+require_once KLARNA_CHECKOUT_DIR.'/ConnectionErrorException.php';
39
+require_once KLARNA_CHECKOUT_DIR.'/ConnectorException.php';
40
+require_once KLARNA_CHECKOUT_DIR.'/UserAgent.php';
41 41
 
42
-require_once KLARNA_CHECKOUT_DIR . '/HTTP/TransportInterface.php';
43
-require_once KLARNA_CHECKOUT_DIR . '/HTTP/CURLHandleInterface.php';
44
-require_once KLARNA_CHECKOUT_DIR . '/HTTP/Request.php';
45
-require_once KLARNA_CHECKOUT_DIR . '/HTTP/Response.php';
46
-require_once KLARNA_CHECKOUT_DIR . '/HTTP/Transport.php';
47
-require_once KLARNA_CHECKOUT_DIR . '/HTTP/CURLTransport.php';
48
-require_once KLARNA_CHECKOUT_DIR . '/HTTP/CURLHeaders.php';
49
-require_once KLARNA_CHECKOUT_DIR . '/HTTP/CURLHandle.php';
50
-require_once KLARNA_CHECKOUT_DIR . '/HTTP/CURLFactory.php';
42
+require_once KLARNA_CHECKOUT_DIR.'/HTTP/TransportInterface.php';
43
+require_once KLARNA_CHECKOUT_DIR.'/HTTP/CURLHandleInterface.php';
44
+require_once KLARNA_CHECKOUT_DIR.'/HTTP/Request.php';
45
+require_once KLARNA_CHECKOUT_DIR.'/HTTP/Response.php';
46
+require_once KLARNA_CHECKOUT_DIR.'/HTTP/Transport.php';
47
+require_once KLARNA_CHECKOUT_DIR.'/HTTP/CURLTransport.php';
48
+require_once KLARNA_CHECKOUT_DIR.'/HTTP/CURLHeaders.php';
49
+require_once KLARNA_CHECKOUT_DIR.'/HTTP/CURLHandle.php';
50
+require_once KLARNA_CHECKOUT_DIR.'/HTTP/CURLFactory.php';
Please login to merge, or discard this patch.
Components/KlarnaCheckout/Checkout/ConnectionErrorException.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -26,17 +26,17 @@
 block discarded – undo
26 26
  * @link      http://integration.klarna.com/
27 27
  */
28 28
 
29
- /**
30
-  * Connection exception
31
-  *
32
-  * @category  Payment
33
-  * @package   Klarna_Checkout
34
-  * @author    Rickard D. <[email protected]>
35
-  * @author    Christer G. <[email protected]>
36
-  * @copyright 2012 Klarna AB
37
-  * @license   http://www.apache.org/licenses/LICENSE-2.0 Apache license v2.0
38
-  * @link      http://integration.klarna.com/
39
-  */
29
+    /**
30
+     * Connection exception
31
+     *
32
+     * @category  Payment
33
+     * @package   Klarna_Checkout
34
+     * @author    Rickard D. <[email protected]>
35
+     * @author    Christer G. <[email protected]>
36
+     * @copyright 2012 Klarna AB
37
+     * @license   http://www.apache.org/licenses/LICENSE-2.0 Apache license v2.0
38
+     * @link      http://integration.klarna.com/
39
+     */
40 40
 class Klarna_Checkout_ConnectionErrorException extends Klarna_Checkout_Exception
41 41
 {
42 42
 
Please login to merge, or discard this patch.
Components/KlarnaCheckout/Checkout/UserAgent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
         foreach ($this->_fields as $key => $value) {
97 97
             $parts[] = "$key/{$value['name']}_{$value['version']}";
98 98
             if (array_key_exists('options', $value)) {
99
-                $parts[] = '(' . implode(' ; ', $value['options']) . ')';
99
+                $parts[] = '('.implode(' ; ', $value['options']).')';
100 100
             }
101 101
         }
102 102
         return implode(' ', $parts);
Please login to merge, or discard this patch.
Components/KlarnaCheckout/Checkout/HTTP/CURLHeaders.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         }
77 77
 
78 78
         $key = substr($header, 0, $pos);
79
-        $value = trim(substr($header, $pos+1));
79
+        $value = trim(substr($header, $pos + 1));
80 80
 
81 81
         $this->headers[$key] = trim($value);
82 82
 
Please login to merge, or discard this patch.
Components/KlarnaCheckout/Checkout/HTTP/CURLTransport.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
         // Convert headers to cURL format.
122 122
         $requestHeaders = array();
123 123
         foreach ($request->getHeaders() as $key => $value) {
124
-            $requestHeaders[] = $key . ': ' . $value;
124
+            $requestHeaders[] = $key.': '.$value;
125 125
         }
126 126
 
127 127
         $curl->setOption(CURLOPT_HTTPHEADER, $requestHeaders);
Please login to merge, or discard this patch.
Components/StreetSplitService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         $matches['streetNumber'] = trim($matches['streetNumber']);
39 39
 
40 40
         // remove unnecessary numeric indexes
41
-        unset($matches[0], $matches[1],$matches[2]);
41
+        unset($matches[0], $matches[1], $matches[2]);
42 42
 
43 43
         return $matches;
44 44
     }
Please login to merge, or discard this patch.
Models/lightConnector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     protected $transactionId = null;
39 39
     
40
-    protected $apiUrl = array('live'=>'https://api.klarna.com/','test'=>'https://api.playground.klarna.com/');
40
+    protected $apiUrl = array('live'=>'https://api.klarna.com/', 'test'=>'https://api.playground.klarna.com/');
41 41
 
42 42
     /**
43 43
      * Creates an instance of light connector
Please login to merge, or discard this patch.