Issues (400)

application/models/Auth/Row.php (1 issue)

Labels
Severity
1
<?php
2
3
/**
4
 * @copyright Bluz PHP Team
5
 * @link      https://github.com/bluzphp/skeleton
6
 */
7
8
declare(strict_types=1);
9
10
namespace Application\Auth;
11
12
use Bluz\Auth\Model\AbstractRow;
0 ignored issues
show
The type Bluz\Auth\Model\AbstractRow 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...
13
14
/**
15
 * Auth Row
16
 *
17
 * @package  Application\Auth
18
 *
19
 * @property string $created
20
 * @property string $updated
21
 */
22
class Row extends AbstractRow
23
{
24
    /**
25
     * {@inheritdoc}
26 1
     */
27
    public function beforeInsert(): void
28 1
    {
29 1
        $this->created = gmdate('Y-m-d H:i:s');
30
    }
31
32
    /**
33
     * {@inheritdoc}
34
     */
35
    public function beforeUpdate(): void
36
    {
37
        $this->updated = gmdate('Y-m-d H:i:s');
38
    }
39
}
40