Completed
Push — master ( 45ef8a...b447af )
by Freek
01:45
created
src/BackupDestination/BackupDestination.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Spatie\Backup\BackupDestination;
4 4
 
5
-use Exception;
6 5
 use Carbon\Carbon;
6
+use Exception;
7 7
 use Illuminate\Contracts\Filesystem\Factory;
8 8
 use Illuminate\Contracts\Filesystem\Filesystem;
9 9
 use Spatie\Backup\Exceptions\InvalidBackupDestination;
Please login to merge, or discard this patch.
src/Notifications/BaseNotification.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Spatie\Backup\Notifications;
4 4
 
5
+use Illuminate\Notifications\Notification;
6
+use Illuminate\Support\Collection;
5 7
 use Spatie\Backup\BackupDestination\BackupDestination;
6 8
 use Spatie\Backup\Helpers\Format;
7
-use Illuminate\Support\Collection;
8
-use Illuminate\Notifications\Notification;
9 9
 
10 10
 abstract class BaseNotification extends Notification
11 11
 {
Please login to merge, or discard this patch.
src/Tasks/Monitor/BackupDestinationStatus.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -66,6 +66,9 @@
 block discarded – undo
66 66
         return $this->backupDestination->backups()->count();
67 67
     }
68 68
 
69
+    /**
70
+     * @return Carbon
71
+     */
69 72
     public function dateOfNewestBackup(): ?Carbon
70 73
     {
71 74
         $newestBackup = $this->backupDestination->newestBackup();
Please login to merge, or discard this patch.