diff --git a/src/Backup/Target/Compression/Abstraction.php b/src/Backup/Target/Compression/Abstraction.php index 804ab535..ff16f486 100644 --- a/src/Backup/Target/Compression/Abstraction.php +++ b/src/Backup/Target/Compression/Abstraction.php @@ -120,4 +120,12 @@ public function getMimeType() : string { return $this->mimeType; } + + /** + * @return string + */ + public function __toString(): string + { + return $this->cmd; + } } diff --git a/src/Cli/Executable/Abstraction.php b/src/Cli/Executable/Abstraction.php index 59b0713f..3ebd7116 100644 --- a/src/Cli/Executable/Abstraction.php +++ b/src/Cli/Executable/Abstraction.php @@ -1,6 +1,7 @@ getCommand(); } + + /** + * @return string + */ + public function __toString() : string + { + return $this->getCommand(); + } } diff --git a/src/Cli/Executable/Arangodump.php b/src/Cli/Executable/Arangodump.php index e77ee1c2..efc9a57f 100644 --- a/src/Cli/Executable/Arangodump.php +++ b/src/Cli/Executable/Arangodump.php @@ -1,7 +1,6 @@