Skip to content

Commit 4b365b4

Browse files
committed
Improve exception message
1 parent ab8e0cd commit 4b365b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SSHConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function run($commands)
102102
}
103103

104104
if (!is_array($commands)) {
105-
throw new \InvalidArgumentException('Command(s) passed should be a string or array.');
105+
throw new \InvalidArgumentException('Command(s) passed should be a string or an array of string.');
106106
}
107107

108108
if (!$this->connected) {

0 commit comments

Comments
 (0)