Issues (238)

src/Events/TranslationHasBeenSet.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace Translation\Events;
4
5
class TranslationHasBeenSet
6
{
7
    /**
8
     * @var \Translation\Translatable 
0 ignored issues
show
The type Translation\Translatable 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...
9
     */
10
    public $model;
11
12
    /**
13
     * @var string 
14
     */
15
    public $key;
16
17
    /**
18
     * @var string 
19
     */
20
    public $locale;
21
22
    public $oldValue;
23
    public $newValue;
24
25
    public function __construct($model, string $key, string $locale, $oldValue, $newValue)
26
    {
27
        $this->model = $model;
28
29
        $this->key = $key;
30
31
        $this->locale = $locale;
32
33
        $this->oldValue = $oldValue;
34
        $this->newValue = $newValue;
35
    }
36
}