Failed Conditions
Pull Request — master (#321)
by Anton
23:35 queued 08:33
created

modules/users/controllers/mail/template.php (1 issue)

Labels
Severity
1
<?php
2
/**
3
 * Mailer for Users
4
 *
5
 * @category Application
6
 *
7
 * @author   Anton Shevchuk
8
 * @created  06.12.12 12:43
9
 */
10
11
namespace Application;
12
13
use Bluz\Controller\Controller;
0 ignored issues
show
The type Bluz\Controller\Controller was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
14
15
/**
16
 * @param string $template
17
 * @param array $vars
18
 *
19
 * @return array
20
 */
21
return function ($template, $vars = []) {
22
    /**
23
     * @var Controller $this
24
     */
25
    $this->template = 'mail/' . $template . '.phtml';
26
    return $vars;
27
};
28