Skip to content

Commit a7c742a

Browse files
committed
Removing usage of "key" which may not be set
1 parent cc414dc commit a7c742a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Autocomplete/CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
- Added support for using [OptionGroups](https://tom-select.js.org/examples/optgroups/).
1212

13-
1413
## 2.7.0
1514

1615
- Add `assets/src` to `.gitattributes` to exclude them from the installation

src/LiveComponent/src/DependencyInjection/Compiler/ComponentDefaultActionPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function process(ContainerBuilder $container): void
3333
$defaultAction = trim($component[0]['default_action'] ?? '__invoke', '()');
3434

3535
if (!method_exists($class, $defaultAction)) {
36-
throw new \LogicException(sprintf('Live component "%s" (%s) requires the default action method "%s".%s', $class, $component[0]['key'], $defaultAction, '__invoke' === $defaultAction ? ' Either add this method or use the DefaultActionTrait' : ''));
36+
throw new \LogicException(sprintf('Live component "%s" requires the default action method "%s".%s', $class, $defaultAction, '__invoke' === $defaultAction ? ' Either add this method or use the DefaultActionTrait' : ''));
3737
}
3838
}
3939
}

0 commit comments

Comments
 (0)