Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Jan 4, 2025
1 parent 08326f9 commit 18fabfd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use putyourlightson\datastar\services\SseService;
use Twig\Compiler;

trait NodeTrait
trait CompileWithOptionsTrait
{
/**
* Compiles a node with options.
Expand Down
2 changes: 1 addition & 1 deletion src/twigextensions/nodes/ExecuteScriptNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class ExecuteScriptNode extends Node
{
use NodeTrait;
use CompileWithOptionsTrait;

/**
* @uses SseService::executeScript()
Expand Down
2 changes: 1 addition & 1 deletion src/twigextensions/nodes/FragmentNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

class FragmentNode extends Node
{
use NodeTrait;
use CompileWithOptionsTrait;

/**
* @uses SseService::mergeFragments
Expand Down

0 comments on commit 18fabfd

Please sign in to comment.