diff --git a/lib/Cake/Console/ConsoleOutput.php b/lib/Cake/Console/ConsoleOutput.php index b270fce29..3b45c6751 100644 --- a/lib/Cake/Console/ConsoleOutput.php +++ b/lib/Cake/Console/ConsoleOutput.php @@ -286,8 +286,7 @@ class ConsoleOutput { } /** - * clean up and close handles - * + * Clean up and close handles */ public function __destruct() { fclose($this->_output); diff --git a/lib/Cake/I18n/L10n.php b/lib/Cake/I18n/L10n.php index bac9ee5df..aba0afbf7 100644 --- a/lib/Cake/I18n/L10n.php +++ b/lib/Cake/I18n/L10n.php @@ -327,7 +327,6 @@ class L10n { /** * Class constructor - * */ public function __construct() { if (defined('DEFAULT_LANGUAGE')) { diff --git a/lib/Cake/Model/Datasource/DataSource.php b/lib/Cake/Model/Datasource/DataSource.php index ceda8a4c8..c71b164cf 100644 --- a/lib/Cake/Model/Datasource/DataSource.php +++ b/lib/Cake/Model/Datasource/DataSource.php @@ -431,7 +431,6 @@ class DataSource extends Object { /** * Closes the current datasource. - * */ public function __destruct() { if ($this->_transactionStarted) { diff --git a/lib/Cake/Model/Datasource/DboSource.php b/lib/Cake/Model/Datasource/DboSource.php index dd6eae280..3fcf71f12 100644 --- a/lib/Cake/Model/Datasource/DboSource.php +++ b/lib/Cake/Model/Datasource/DboSource.php @@ -3306,7 +3306,6 @@ class DboSource extends DataSource { /** * Used for storing in cache the results of the in-memory methodCache - * */ public function __destruct() { if ($this->_methodCacheChange) { diff --git a/lib/Cake/Network/CakeSocket.php b/lib/Cake/Network/CakeSocket.php index a06c38c50..ca20bdfc1 100644 --- a/lib/Cake/Network/CakeSocket.php +++ b/lib/Cake/Network/CakeSocket.php @@ -331,7 +331,6 @@ class CakeSocket { /** * Destructor, used to disconnect from current connection. - * */ public function __destruct() { $this->disconnect(); diff --git a/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php b/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php index 904997466..3d23bbccf 100644 --- a/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php +++ b/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php @@ -78,7 +78,6 @@ class CakeTestSuiteDispatcher { /** * Constructor - * */ public function __construct() { $this->_baseUrl = $_SERVER['PHP_SELF']; diff --git a/lib/Cake/Utility/File.php b/lib/Cake/Utility/File.php index 9c1be6afe..1af4c757b 100644 --- a/lib/Cake/Utility/File.php +++ b/lib/Cake/Utility/File.php @@ -96,7 +96,6 @@ class File { /** * Closes the current file if it is opened - * */ public function __destruct() { $this->close();