Skip to content

Commit

Permalink
Replace deprecated class (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
trsteel88 authored Nov 25, 2024
1 parent aae3ced commit 1fea52a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DependencyInjection/TrsteelCkeditorExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Form/Type/CkeditorType.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

Expand Down

0 comments on commit 1fea52a

Please sign in to comment.