diff --git a/DependencyInjection/TrsteelCkeditorExtension.php b/DependencyInjection/TrsteelCkeditorExtension.php index 1c004bb..de2fb74 100755 --- a/DependencyInjection/TrsteelCkeditorExtension.php +++ b/DependencyInjection/TrsteelCkeditorExtension.php @@ -4,8 +4,8 @@ use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; +use Symfony\Component\DependencyInjection\Extension\Extension; use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; -use Symfony\Component\HttpKernel\DependencyInjection\Extension; /** * This is the class that loads and manages your bundle configuration. diff --git a/Form/Type/CkeditorType.php b/Form/Type/CkeditorType.php index 0702e9f..6c1567c 100755 --- a/Form/Type/CkeditorType.php +++ b/Form/Type/CkeditorType.php @@ -35,7 +35,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void if (isset($this->transformers[$transformer_alias])) { $builder->addViewTransformer($this->transformers[$transformer_alias]); } else { - throw new \Exception(sprintf("'%s' is not a valid transformer.", $transformer_alias)); + throw new \Exception(\sprintf("'%s' is not a valid transformer.", $transformer_alias)); } }