Merge pull request 'dev' (#7) from dev into master

Reviewed-on: #7
This commit is contained in:
Anthony Axenov 2023-08-13 15:12:22 +00:00
commit d854732143
2 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@ abstract class AbstractConverter implements ConverterContract
*/ */
protected function interpolate(string $content): string protected function interpolate(string $content): string
{ {
if (empty($this->vars) && $this->env->hasVars()) { if (empty($this->vars) && !empty($this->env) && $this->env->hasVars()) {
return $content; return $content;
} }
$matches = []; $matches = [];

View File

@ -22,7 +22,7 @@ class Processor
/** /**
* Converter version * Converter version
*/ */
public const VERSION = '1.2.2'; public const VERSION = '1.2.3';
/** /**
* @var string[] Paths to collection files * @var string[] Paths to collection files