mirror of
https://github.com/opdavies/gmail-filter-builder.git
synced 2025-02-02 08:57:31 +00:00
PSR-2
This commit is contained in:
parent
5c74cb51d1
commit
a5a9d51db8
|
@ -13,7 +13,7 @@ class GmailFilterBuilder
|
|||
private $email;
|
||||
|
||||
/**
|
||||
* @var \Twig_Environment
|
||||
* @var Twig_Environment
|
||||
*/
|
||||
private $twig;
|
||||
|
||||
|
@ -27,7 +27,7 @@ class GmailFilterBuilder
|
|||
public function __construct(array $filters)
|
||||
{
|
||||
$this->twig = new Twig_Environment(
|
||||
new Twig_Loader_Filesystem(__DIR__ . '/../templates')
|
||||
new Twig_Loader_Filesystem(__DIR__.'/../templates')
|
||||
);
|
||||
|
||||
$this->filters = $filters;
|
||||
|
@ -53,9 +53,9 @@ class GmailFilterBuilder
|
|||
return new static($filters);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
private function generate()
|
||||
{
|
||||
return $this->twig->render(
|
||||
|
|
Loading…
Reference in a new issue