Skip to content

Commit 48bdc04

Browse files
committed
Removes PHP7.4 feature usage. Closes #241
1 parent 8d7d045 commit 48bdc04

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Cli/Executable/Rsync/Location.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,9 @@ public function toString()
9191
* Magic to string method
9292
*
9393
* @return string
94-
* @throws \phpbu\App\Exception
9594
*/
9695
public function __toString()
9796
{
98-
if (!$this->isValid()) {
99-
throw new Exception('invalid rsync path');
100-
}
10197
$return = '';
10298
if (!empty($this->host)) {
10399
// remote user

0 commit comments

Comments
 (0)