Loading modules/social_features/social_embed/src/Plugin/Filter/SocialEmbedUrlEmbedFilter.php +5 −5 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ namespace Drupal\social_embed\Plugin\Filter; use Drupal\Component\Utility\Html; use Drupal\Component\Utility\UrlHelper; use Drupal\Component\Uuid\Php; use Drupal\Component\Uuid\UuidInterface; use Drupal\Core\Config\ConfigFactory; use Drupal\Core\Session\AccountProxyInterface; use Drupal\filter\FilterProcessResult; Loading @@ -29,9 +29,9 @@ class SocialEmbedUrlEmbedFilter extends UrlEmbedFilter { /** * Uuid services. * * @var \Drupal\Component\Uuid\Php * @var \Drupal\Component\Uuid\UuidInterface */ protected Php $uuid; protected UuidInterface $uuid; /** * The config factory services. Loading Loading @@ -65,7 +65,7 @@ class SocialEmbedUrlEmbedFilter extends UrlEmbedFilter { * The plugin implementation definition. * @param \Drupal\url_embed\UrlEmbedInterface $url_embed * The URL embed service. * @param \Drupal\Component\Uuid\Php $uuid * @param \Drupal\Component\Uuid\UuidInterface $uuid * The uuid services. * @param \Drupal\Core\Config\ConfigFactory $config_factory * The config factory services. Loading @@ -79,7 +79,7 @@ class SocialEmbedUrlEmbedFilter extends UrlEmbedFilter { $plugin_id, $plugin_definition, UrlEmbedInterface $url_embed, Php $uuid, UuidInterface $uuid, ConfigFactory $config_factory, SocialEmbedHelper $embed_helper, AccountProxyInterface $current_user Loading modules/social_features/social_embed/src/Service/SocialEmbedHelper.php +5 −5 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ namespace Drupal\social_embed\Service; use Drupal\Core\Render\Renderer; use Drupal\Core\Session\AccountProxyInterface; use Drupal\filter\FilterProcessResult; use Drupal\Component\Uuid\Php; use Drupal\Component\Uuid\UuidInterface; /** * Service class for Social Embed. Loading @@ -15,9 +15,9 @@ class SocialEmbedHelper { /** * Uuid generator. * * @var \Drupal\Component\Uuid\Php * @var \Drupal\Component\Uuid\UuidInterface */ protected Php $uuidGenerator; protected UuidInterface $uuidGenerator; /** * Current user object. Loading @@ -36,14 +36,14 @@ class SocialEmbedHelper { /** * Constructor for SocialEmbedHelper. * * @param \Drupal\Component\Uuid\Php $uuid_generator * @param \Drupal\Component\Uuid\UuidInterface $uuid_generator * The UUID generator. * @param \Drupal\Core\Session\AccountProxyInterface $current_user * Current user object. * @param \Drupal\Core\Render\Renderer $renderer * Renderer services. */ public function __construct(Php $uuid_generator, AccountProxyInterface $current_user, Renderer $renderer) { public function __construct(UuidInterface $uuid_generator, AccountProxyInterface $current_user, Renderer $renderer) { $this->uuidGenerator = $uuid_generator; $this->currentUser = $current_user; $this->renderer = $renderer; Loading Loading
modules/social_features/social_embed/src/Plugin/Filter/SocialEmbedUrlEmbedFilter.php +5 −5 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ namespace Drupal\social_embed\Plugin\Filter; use Drupal\Component\Utility\Html; use Drupal\Component\Utility\UrlHelper; use Drupal\Component\Uuid\Php; use Drupal\Component\Uuid\UuidInterface; use Drupal\Core\Config\ConfigFactory; use Drupal\Core\Session\AccountProxyInterface; use Drupal\filter\FilterProcessResult; Loading @@ -29,9 +29,9 @@ class SocialEmbedUrlEmbedFilter extends UrlEmbedFilter { /** * Uuid services. * * @var \Drupal\Component\Uuid\Php * @var \Drupal\Component\Uuid\UuidInterface */ protected Php $uuid; protected UuidInterface $uuid; /** * The config factory services. Loading Loading @@ -65,7 +65,7 @@ class SocialEmbedUrlEmbedFilter extends UrlEmbedFilter { * The plugin implementation definition. * @param \Drupal\url_embed\UrlEmbedInterface $url_embed * The URL embed service. * @param \Drupal\Component\Uuid\Php $uuid * @param \Drupal\Component\Uuid\UuidInterface $uuid * The uuid services. * @param \Drupal\Core\Config\ConfigFactory $config_factory * The config factory services. Loading @@ -79,7 +79,7 @@ class SocialEmbedUrlEmbedFilter extends UrlEmbedFilter { $plugin_id, $plugin_definition, UrlEmbedInterface $url_embed, Php $uuid, UuidInterface $uuid, ConfigFactory $config_factory, SocialEmbedHelper $embed_helper, AccountProxyInterface $current_user Loading
modules/social_features/social_embed/src/Service/SocialEmbedHelper.php +5 −5 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ namespace Drupal\social_embed\Service; use Drupal\Core\Render\Renderer; use Drupal\Core\Session\AccountProxyInterface; use Drupal\filter\FilterProcessResult; use Drupal\Component\Uuid\Php; use Drupal\Component\Uuid\UuidInterface; /** * Service class for Social Embed. Loading @@ -15,9 +15,9 @@ class SocialEmbedHelper { /** * Uuid generator. * * @var \Drupal\Component\Uuid\Php * @var \Drupal\Component\Uuid\UuidInterface */ protected Php $uuidGenerator; protected UuidInterface $uuidGenerator; /** * Current user object. Loading @@ -36,14 +36,14 @@ class SocialEmbedHelper { /** * Constructor for SocialEmbedHelper. * * @param \Drupal\Component\Uuid\Php $uuid_generator * @param \Drupal\Component\Uuid\UuidInterface $uuid_generator * The UUID generator. * @param \Drupal\Core\Session\AccountProxyInterface $current_user * Current user object. * @param \Drupal\Core\Render\Renderer $renderer * Renderer services. */ public function __construct(Php $uuid_generator, AccountProxyInterface $current_user, Renderer $renderer) { public function __construct(UuidInterface $uuid_generator, AccountProxyInterface $current_user, Renderer $renderer) { $this->uuidGenerator = $uuid_generator; $this->currentUser = $current_user; $this->renderer = $renderer; Loading