Issues (1)

src/ValidarID.php (1 issue)

1
<?php
2
namespace src;
3
4
class ValidarID implements ValidarSesionIdInterface
5
{
6
    public function __construct(bool $true)
7
    {
8
        $this->_respuesta = $true;
0 ignored issues
show
Bug Best Practice introduced by
The property _respuesta does not exist. Although not strictly required by PHP, it is generally a best practice to declare properties explicitly.
Loading history...
9
    }
10
11
    public function validar(string $id): bool
12
    {
13
        return $this->_respuesta;
14
    }
15
}
16