From af3f94b37ebb4e6b2d03f937e40a157a17dff223 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 25 Jan 2010 10:38:35 +0000 Subject: - Patch #693614 by asimmonds: fixed PHPDoc spelling typos. --- includes/filetransfer/filetransfer.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'includes/filetransfer') diff --git a/includes/filetransfer/filetransfer.inc b/includes/filetransfer/filetransfer.inc index cdd6e2cbf..27d6815a0 100644 --- a/includes/filetransfer/filetransfer.inc +++ b/includes/filetransfer/filetransfer.inc @@ -5,7 +5,7 @@ * Base FileTransfer class. * * Classes extending this class perform file operations on directories not - * writeable by the webserver. To achieve this, the class should connect back + * writable by the webserver. To achieve this, the class should connect back * to the server using some backend (for example FTP or SSH). To keep security, * the password should always be asked from the user and never stored. For * safety, all methods operate only inside a "jail", by default the Drupal root. @@ -17,7 +17,7 @@ abstract class FileTransfer { protected $port; /** - * The constructer for the UpdateConnection class. This method is also called + * The constructor for the UpdateConnection class. This method is also called * from the classes that extend this class and override this method. */ function __construct($jail) { @@ -150,7 +150,7 @@ abstract class FileTransfer { /** * Returns a modified path suitable for passing to the server. - * If a path is a windows path, makes it posix compliant by removing the drive letter. + * If a path is a windows path, makes it POSIX compliant by removing the drive letter. * If $this->chroot has a value, it is stripped from the path to allow for * chroot'd filetransfer systems. * @@ -171,13 +171,13 @@ abstract class FileTransfer { } /** - * Changes backslahes to slashes, also removes a trailing slash. + * Changes backslashes to slashes, also removes a trailing slash. * * @param string $path * @return string */ function sanitizePath($path) { - $path = str_replace('\\', '/', $path); // Windows path sanitiation. + $path = str_replace('\\', '/', $path); // Windows path sanitization. if (substr($path, -1) == '/') { $path = substr($path, 0, -1); } -- cgit v1.2.3