@@ -141,7 +141,7 @@ |
||
141 | 141 | * the name of the field |
142 | 142 | * @param string $key |
143 | 143 | * the value of the key |
144 | - * @param mixed $value |
|
144 | + * @param string|boolean $value |
|
145 | 145 | * the new value |
146 | 146 | */ |
147 | 147 | protected function setFieldValue($name, $key, $value) { |
@@ -146,7 +146,7 @@ |
||
146 | 146 | } |
147 | 147 | } else if ($type === 'many') { |
148 | 148 | $many = array_map(function($id) { |
149 | - return ['id' => $id]; |
|
149 | + return ['id' => $id]; |
|
150 | 150 | }, $request->get($field)); |
151 | 151 | $this->set($field, $many); |
152 | 152 | } else { |