Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 150 Revision 991
Zeile 64... Zeile 64...
64
     * @return \Illuminate\Contracts\Validation\Rule
64
     * @return \Illuminate\Contracts\Validation\Rule
65
     */
65
     */
66
    public static function make($invokable)
66
    public static function make($invokable)
67
    {
67
    {
68
        if ($invokable->implicit ?? false) {
68
        if ($invokable->implicit ?? false) {
69
            return new class($invokable) extends InvokableValidationRule implements ImplicitRule
69
            return new class($invokable) extends InvokableValidationRule implements ImplicitRule {};
70
            {
-
 
71
                //
-
 
72
            };
-
 
73
        }
70
        }
Zeile 74... Zeile 71...
74
 
71
 
75
        return new InvokableValidationRule($invokable);
72
        return new InvokableValidationRule($invokable);