Permalink
Browse files

Remove @return from docblock (for __construct && __destruct methods)

  • Loading branch information...
1 parent f0205f5 commit 18e0dc95dd2dfb78926a7128025ef745c86ffca2 @kimegede kimegede committed Sep 8, 2013
@@ -286,8 +286,7 @@ public function outputAs($type = null) {
}
/**
- * clean up and close handles
- *
+ * Clean up and close handles
*/
public function __destruct() {
fclose($this->_output);
View
@@ -327,7 +327,6 @@ class L10n {
/**
* Class constructor
- *
*/
public function __construct() {
if (defined('DEFAULT_LANGUAGE')) {
@@ -431,7 +431,6 @@ public function close() {
/**
* Closes the current datasource.
- *
*/
public function __destruct() {
if ($this->_transactionStarted) {
@@ -3306,7 +3306,6 @@ public function getQueryCache($sql, $params = array()) {
/**
* Used for storing in cache the results of the in-memory methodCache
- *
*/
public function __destruct() {
if ($this->_methodCacheChange) {
@@ -331,7 +331,6 @@ public function disconnect() {
/**
* Destructor, used to disconnect from current connection.
- *
*/
public function __destruct() {
$this->disconnect();
@@ -78,7 +78,6 @@ class CakeTestSuiteDispatcher {
/**
* Constructor
- *
*/
public function __construct() {
$this->_baseUrl = $_SERVER['PHP_SELF'];
@@ -96,7 +96,6 @@ public function __construct($path, $create = false, $mode = 0755) {
/**
* Closes the current file if it is opened
- *
*/
public function __destruct() {
$this->close();

0 comments on commit 18e0dc9

Please sign in to comment.