@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | */ |
| 70 | 70 | public function add(array $data) |
| 71 | 71 | { |
| 72 | - $data = $this->resolve($data, function (OptionsResolver $resolver) { |
|
| 72 | + $data = $this->resolve($data, function(OptionsResolver $resolver) { |
|
| 73 | 73 | $resolver |
| 74 | 74 | ->setRequired('device_type') |
| 75 | 75 | ->setAllowedTypes('device_type', 'int') |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | */ |
| 103 | 103 | public function update($id, array $data) |
| 104 | 104 | { |
| 105 | - $data = $this->resolve($data, function (OptionsResolver $resolver) { |
|
| 105 | + $data = $this->resolve($data, function(OptionsResolver $resolver) { |
|
| 106 | 106 | $resolver |
| 107 | 107 | ->setDefined('notification_types') |
| 108 | 108 | ->setAllowedTypes('notification_types', 'int') |