(Fix) Extend donation expiry instead of keeping the old expiry #4021
Annotations
6 errors
Run Larastan:
app/Http/Controllers/Staff/DonationController.php#L79
Ignored error pattern #^Property App\\Models\\Donation\:\:\$ends_at \(Illuminate\\Support\\Carbon\) does not accept null\.$# in path /home/runner/work/UNIT3D-Community-Edition/UNIT3D-Community-Edition/app/Http/Controllers/Staff/DonationController.php is expected to occur 1 time, but occurred 2 times.
|
Run Larastan:
app/Http/Controllers/Staff/DonationController.php#L81
Call to function is_null() with Illuminate\Support\Carbon will always evaluate to false.
|
Run Larastan:
app/Http/Controllers/Staff/DonationController.php#L83
Ignored error pattern #^Property App\\Models\\Donation\:\:\$ends_at \(Illuminate\\Support\\Carbon\) does not accept Carbon\\Carbon\.$# in path /home/runner/work/UNIT3D-Community-Edition/UNIT3D-Community-Edition/app/Http/Controllers/Staff/DonationController.php is expected to occur 1 time, but occurred 2 times.
|
Run Larastan:
app/Http/Controllers/Staff/DonationController.php#L85
Property App\Models\Donation::$ends_at (Illuminate\Support\Carbon) does not accept Carbon\Carbon.
|
Run Larastan:
app/Http/Controllers/Staff/DonationController.php#L89
Property App\Models\Donation::$ends_at (Illuminate\Support\Carbon) does not accept null.
|
Run Larastan
Process completed with exit code 1.
|
Loading