diff --git a/CHANGELOG.md b/CHANGELOG.md index fcf5fa35..e08c374f 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All Notable changes to `laravel-backup` will be documented in this file +###2.7.0 +- Add `only-files`-option + + ###2.6.0 - Display warning when backupping zero bytes diff --git a/src/Commands/BackupCommand.php b/src/Commands/BackupCommand.php index 86acb83a..44ef8825 100644 --- a/src/Commands/BackupCommand.php +++ b/src/Commands/BackupCommand.php @@ -257,7 +257,7 @@ protected function getDatabaseDump() $this->comment('Database dumped'); - return $databaseBackupHandler->getFilesToBeBackedUp[0]; + return $databaseBackupHandler->getFilesToBeBackedUp()[0]; } /** @@ -269,4 +269,4 @@ protected function guardAgainstInvalidOptions() throw new \Exception('cannot use only-db and only-files together'); } } -} +} \ No newline at end of file