@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | $schema = array_merge( |
221 | 221 | parent::getSchemaDataDefaults(), |
222 | 222 | [ |
223 | - 'name' => $this->getName() . '[]', |
|
223 | + 'name' => $this->getName().'[]', |
|
224 | 224 | 'lazyLoad' => $this->getShouldLazyLoad(), |
225 | 225 | 'creatable' => $this->getCanCreate(), |
226 | 226 | 'multi' => $this->getIsMultiple(), |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | } |
278 | 278 | |
279 | 279 | // Prep a function to parse a dataobject into an option |
280 | - $addOption = function (DataObject $item) use ($options, $values) { |
|
280 | + $addOption = function(DataObject $item) use ($options, $values) { |
|
281 | 281 | $titleField = $this->getTitleField(); |
282 | 282 | $option = $item->$titleField; |
283 | 283 | $options->push(ArrayData::create([ |
@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | return array_merge( |
326 | 326 | parent::getAttributes(), |
327 | 327 | [ |
328 | - 'name' => $this->getName() . '[]', |
|
328 | + 'name' => $this->getName().'[]', |
|
329 | 329 | 'style' => 'width: 100%', |
330 | 330 | 'data-schema' => json_encode($this->getSchemaData()), |
331 | 331 | ] |
@@ -437,7 +437,7 @@ discard block |
||
437 | 437 | $titleField = $this->getTitleField(); |
438 | 438 | |
439 | 439 | $query = $source |
440 | - ->filter($titleField . ':PartialMatch:nocase', $term) |
|
440 | + ->filter($titleField.':PartialMatch:nocase', $term) |
|
441 | 441 | ->sort($titleField) |
442 | 442 | ->limit($this->getLazyLoadItemLimit()); |
443 | 443 |