@@ -48,7 +48,7 @@ |
||
| 48 | 48 | $valuePattern = '\€?\s*[\d,]+\s*\€?'; |
| 49 | 49 | |
| 50 | 50 | $pricePattern = |
| 51 | - "/(?<name>{$namePattern}):\s*(?<value>{$valuePattern})/u"; |
|
| 51 | + "/(?<name>{$namePattern}):\s*(?<value>{$valuePattern})/u"; |
|
| 52 | 52 | |
| 53 | 53 | $numberFormat = $this->numberFormatRepository->get('nl-BE'); |
| 54 | 54 | $currencyFormatter = new NumberFormatter( |
@@ -98,7 +98,7 @@ |
||
| 98 | 98 | { |
| 99 | 99 | array_walk( |
| 100 | 100 | $mergeLabels->getLabels()->asArray(), |
| 101 | - function (Label $label) { |
|
| 101 | + function(Label $label) { |
|
| 102 | 102 | $this->createLabel($label); |
| 103 | 103 | } |
| 104 | 104 | ); |
@@ -67,9 +67,9 @@ |
||
| 67 | 67 | public function serialize() |
| 68 | 68 | { |
| 69 | 69 | return [ |
| 70 | - 'phone' => $this->phones, |
|
| 71 | - 'email' => $this->emails, |
|
| 72 | - 'url' => $this->urls, |
|
| 70 | + 'phone' => $this->phones, |
|
| 71 | + 'email' => $this->emails, |
|
| 72 | + 'url' => $this->urls, |
|
| 73 | 73 | ]; |
| 74 | 74 | } |
| 75 | 75 | |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | { |
| 13 | 13 | if (!is_string($string)) { |
| 14 | 14 | throw new \InvalidArgumentException( |
| 15 | - 'Argument should be string, got ' . gettype($string) . ' instead.' |
|
| 15 | + 'Argument should be string, got '.gettype($string).' instead.' |
|
| 16 | 16 | ); |
| 17 | 17 | } |
| 18 | 18 | |