diff --git a/includes/common.inc b/includes/common.inc index 3d8e8e9..ad5f44a 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -2823,7 +2823,7 @@ function drupal_add_html_head_link($attributes, $header = FALSE) { * - 'group': A number identifying the group in which to add the stylesheet. * Available constants are: * - CSS_SYSTEM: Any system-layer CSS. - * - CSS_DEFAULT: Any module-layer CSS. + * - CSS_DEFAULT: (default) Any module-layer CSS. * - CSS_THEME: Any theme-layer CSS. * The group number serves as a weight: the markup for loading a stylesheet * within a lower weight group is output to the page before the markup for diff --git a/includes/filetransfer/filetransfer.inc b/includes/filetransfer/filetransfer.inc index 2946c96..ee12bcb 100644 --- a/includes/filetransfer/filetransfer.inc +++ b/includes/filetransfer/filetransfer.inc @@ -73,6 +73,7 @@ abstract class FileTransfer { * will be assumed here. * @return object * New instance of the appropriate FileTransfer subclass. + * * @throws FileTransferException */ static function factory($jail, $settings) { @@ -80,7 +81,7 @@ abstract class FileTransfer { } /** - * Implements the magic __get() method. + * Implements PHP magic __get() method. * * If the connection isn't set to anything, this will call the connect() * method and return the result; afterwards, the connection will be returned @@ -130,7 +131,7 @@ abstract class FileTransfer { * @param string $path * The file / directory to change the permissions of. * @param long $mode - * @see http://php.net/chmod + * See the $mode argument from http://php.net/chmod. * @param bool $recursive * Pass TRUE to recursively chmod the entire directory specified in $path. * @@ -324,7 +325,7 @@ abstract class FileTransfer { * @param $path * The path to check. * - * @return boolean + * @return bool */ abstract public function isDirectory($path); @@ -334,7 +335,7 @@ abstract class FileTransfer { * @param $path * The path to check. * - * @return boolean + * @return bool */ abstract public function isFile($path); @@ -454,7 +455,7 @@ class FileTransferException extends Exception { interface FileTransferChmodInterface { /** - * Changes the permissions of the file / directory specified in $path + * Changes the permissions of the file or directory specified in $path * * @param string $path * Path to change permissions of. diff --git a/includes/filetransfer/ftp.inc b/includes/filetransfer/ftp.inc index fb3cc18..b2c7d0a 100644 --- a/includes/filetransfer/ftp.inc +++ b/includes/filetransfer/ftp.inc @@ -24,9 +24,6 @@ abstract class FileTransferFTP extends FileTransfer { /** * Overrides FileTransfer::factory(). * - * The appropriate FileTransferFTP subclass based on the available - * options. If the FTP PHP extension is available, use it. - * * @throws FileTransferException */ static function factory($jail, $settings) {