Skip to content

Commit 98b0514

Browse files
authored
Merge pull request #50 from riesjart/patch-1
Fix typo
2 parents 62d09bb + 80d156f commit 98b0514

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Console/TunnelerReset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __construct()
3838
public function handle()
3939
{
4040
$tunnel = new CreateTunnel();
41-
$tunnel->destoryTunnel();
41+
$tunnel->destroyTunnel();
4242

4343
\Artisan::call('tunneler:activate');
4444
}

src/Jobs/CreateTunnel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ protected function verifyTunnel()
105105
* Use pkill to kill the SSH tunnel
106106
*/
107107

108-
public function destoryTunnel(){
108+
public function destroyTunnel(){
109109
$ssh_command = preg_replace('/[\s]{2}[\s]*/',' ',$this->sshCommand);
110110
return $this->runCommand('pkill -f "'.$ssh_command.'"');
111111
}

0 commit comments

Comments
 (0)