From e9bca3a0c23b5230fb3c73280f413bb5169eb4a3 Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Sat, 1 Nov 2014 13:49:22 -0400 Subject: [PATCH] Issue #1182374 by lyricnz, xendil, sivaji, brianV: Code style fixes for includes/filetransfer. --- includes/filetransfer/ssh.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/includes/filetransfer/ssh.inc b/includes/filetransfer/ssh.inc index 43ec3249ef0..dd7243e9214 100644 --- a/includes/filetransfer/ssh.inc +++ b/includes/filetransfer/ssh.inc @@ -72,7 +72,8 @@ class FileTransferSSH extends FileTransfer implements FileTransferChmodInterface return TRUE; } return FALSE; - } else { + } + else { throw new FileTransferException('Cannot check @path.', NULL, array('@path' => $path)); } } @@ -85,7 +86,8 @@ class FileTransferSSH extends FileTransfer implements FileTransferChmodInterface return TRUE; } return FALSE; - } else { + } + else { throw new FileTransferException('Cannot check @path.', NULL, array('@path' => $path)); } }