summaryrefslogtreecommitdiffstats
path: root/lib/private/template/templatefilelocator.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/template/templatefilelocator.php')
-rw-r--r--lib/private/template/templatefilelocator.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/template/templatefilelocator.php b/lib/private/template/templatefilelocator.php
index d5a484b1a14..05cd752cd4f 100644
--- a/lib/private/template/templatefilelocator.php
+++ b/lib/private/template/templatefilelocator.php
@@ -13,11 +13,17 @@ class TemplateFileLocator {
protected $dirs;
private $path;
+ /**
+ * @param string[] $dirs
+ */
public function __construct( $form_factor, $dirs ) {
$this->form_factor = $form_factor;
$this->dirs = $dirs;
}
+ /**
+ * @param string $template
+ */
public function find( $template ) {
if ($template === '') {
throw new \InvalidArgumentException('Empty template name');