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 991
Zeile 36... Zeile 36...
36
        $lowerRule = Str::snake($rule);
36
        $lowerRule = Str::snake($rule);
Zeile 37... Zeile 37...
37
 
37
 
Zeile 38... Zeile 38...
38
        $customKey = "validation.custom.{$attribute}.{$lowerRule}";
38
        $customKey = "validation.custom.{$attribute}.{$lowerRule}";
39
 
39
 
40
        $customMessage = $this->getCustomMessageFromTranslator(
40
        $customMessage = $this->getCustomMessageFromTranslator(
41
                in_array($rule, $this->sizeRules)
41
            in_array($rule, $this->sizeRules)
42
                    ? [$customKey.".{$this->getAttributeType($attribute)}", $customKey]
42
                ? [$customKey.".{$this->getAttributeType($attribute)}", $customKey]
Zeile 43... Zeile 43...
43
                    : $customKey
43
                : $customKey
44
        );
44
        );
45
 
45