Skip to content

Commit

Permalink
UHF-10547: Fixed PHPStan errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
khalima committed Sep 6, 2024
1 parent 7231189 commit 1432776
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Plugin/Block/ChatLeijuke.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
id: "chat_leijuke",
admin_label: new TranslatableMarkup('Chat Leijuke'),
)]
class ChatLeijuke extends BlockBase implements ContainerFactoryPluginInterface {
final class ChatLeijuke extends BlockBase implements ContainerFactoryPluginInterface {

/**
* Constructs a Chat Leijuke Block object.
Expand Down Expand Up @@ -50,7 +50,7 @@ public function __construct(
* {@inheritdoc}
*/
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition): static {
return new static(
return new self(
$configuration,
$plugin_id,
$plugin_definition,
Expand Down

0 comments on commit 1432776

Please sign in to comment.