GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 9-9 lines in 2 locations

src/Display/Column/Editable/DateTime.php 1 location

@@ 126-134 (lines=9) @@
123
     *
124
     * @return void
125
     */
126
    public function setModelAttribute($value)
127
    {
128
        $value = ! empty($value)
129
            ? Carbon::createFromFormat($this->getPickerFormat(), $value, $this->getTimezone())
130
                ->timezone(config('app.timezone'))->format($this->getFormat())
131
            : null;
132
133
        parent::setModelAttribute($value);
134
    }
135
136
    /**
137
     * @param Request $request

src/Form/Element/DateTime.php 1 location

@@ 112-120 (lines=9) @@
109
     *
110
     * @return void
111
     */
112
    public function setModelAttribute($value)
113
    {
114
        $value = ! empty($value)
115
            ? Carbon::createFromFormat($this->getPickerFormat(), $value, $this->getTimezone())
116
                    ->timezone(config('app.timezone'))->format($this->getFormat())
117
            : null;
118
119
        parent::setModelAttribute($value);
120
    }
121
122
    /**
123
     * @return array