Skip to content

Commit 52ca211

Browse files
Declare types
1 parent 8b18148 commit 52ca211

1 file changed

Lines changed: 7 additions & 13 deletions

File tree

src/PhpRenderer.php

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,13 @@
1616

1717
class PhpRenderer
1818
{
19+
protected string $templatePath;
20+
21+
protected array $attributes;
22+
23+
protected string $layout;
24+
1925
/**
20-
* @var string
21-
*/
22-
protected $templatePath;
23-
/**
24-
* @var array
25-
*/
26-
protected $attributes;
27-
/**
28-
* @var string
29-
*/
30-
protected $layout;
31-
/**
3226
* @param string $templatePath
3327
* @param array $attributes
3428
* @param string $layout
@@ -193,7 +187,7 @@ public function fetchTemplate(string $template, array $data = []): string
193187
/**
194188
* Returns true is template exists, false if not
195189
*
196-
* @param $template
190+
* @param string $template
197191
*
198192
* @return bool
199193
*/

0 commit comments

Comments
 (0)