@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | case 'status': $this->setStatus($value); break; |
| 86 | 86 | case 'description': $this->setDescription($value); break; |
| 87 | 87 | default: |
| 88 | - throw new Exception('Unknown option found in the Variation entity: ' . $name); |
|
| 88 | + throw new Exception('Unknown option found in the Variation entity: '.$name); |
|
| 89 | 89 | } |
| 90 | 90 | } |
| 91 | 91 | } |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | // Remove options with empty values |
| 114 | 114 | $cleanedOptions = array(); |
| 115 | 115 | foreach ($options as $name=>$value) { |
| 116 | - if ($value!==null) |
|
| 116 | + if ($value !== null) |
|
| 117 | 117 | $cleanedOptions[$name] = $value; |
| 118 | 118 | } |
| 119 | 119 | |