Skip to content

Commit

Permalink
refactor: close tag
Browse files Browse the repository at this point in the history
  • Loading branch information
im-machakata committed Mar 23, 2023
1 parent 91fe8da commit 3b5c86d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Components/BaseComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ class BaseComponent
const SRC = 'src';
const PRINT = "print";
const DONT_PRINT = "do-no-print";
protected $results = '';
protected $elementName = null;
private $value = null;
/**
* Adds a matching closing tag when enabled
*/
protected $closeTag = true;
private $print = false;
private $results = '';
private $elementName = null;
private $value = null;

/**
* Pass in a list of keys and their values.
Expand Down
1 change: 0 additions & 1 deletion src/Components/NoScript.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@
*/
class NoScript extends BaseComponent
{
protected $closeTag = true;
}

0 comments on commit 3b5c86d

Please sign in to comment.