Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 150
Zeile 2... Zeile 2...
2
 
2
 
Zeile 3... Zeile 3...
3
namespace Egulias\EmailValidator\Warning;
3
namespace Egulias\EmailValidator\Warning;
4
 
4
 
-
 
5
abstract class Warning
-
 
6
{
-
 
7
    /**
5
abstract class Warning
8
     * @var int CODE
Zeile 6... Zeile 9...
6
{
9
     */
7
    public const CODE = 0;
10
    public const CODE = 0;
8
 
11
 
Zeile 38... Zeile 41...
38
    public function RFCNumber()
41
    public function RFCNumber()
39
    {
42
    {
40
        return $this->rfcNumber;
43
        return $this->rfcNumber;
41
    }
44
    }
Zeile -... Zeile 45...
-
 
45
 
-
 
46
    /**
-
 
47
     * @return string
42
 
48
     */
43
    public function __toString()
49
    public function __toString(): string
44
    {
50
    {
45
        return $this->message() . " rfc: " .  $this->rfcNumber . "internal code: " . static::CODE;
51
        return $this->message() . " rfc: " .  $this->rfcNumber . "internal code: " . strval(static::CODE);
46
    }
52
    }