@@ -311,7 +311,7 @@ |
||
| 311 | 311 | $this->getObject()->addService( $service, $attributes ); |
| 312 | 312 | $basket->deleteService( $type ); |
| 313 | 313 | } |
| 314 | - catch( \Exception $e ) { ; } // Don't notify the user as appropriate services can be added automatically |
|
| 314 | + catch( \Exception $e ) {; } // Don't notify the user as appropriate services can be added automatically |
|
| 315 | 315 | } |
| 316 | 316 | } |
| 317 | 317 | |
@@ -139,7 +139,7 @@ |
||
| 139 | 139 | { |
| 140 | 140 | $list = []; |
| 141 | 141 | |
| 142 | - if( preg_match_all('/(?P<key>[^(,]+(\(("([^"]|\")*")?[^)]*\))?),?/', (string) $keys, $list ) !== false ) { |
|
| 142 | + if( preg_match_all( '/(?P<key>[^(,]+(\(("([^"]|\")*")?[^)]*\))?),?/', (string) $keys, $list ) !== false ) { |
|
| 143 | 143 | return $list['key'] ?? []; |
| 144 | 144 | } |
| 145 | 145 | |