Browse Source

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

Kim Egede Jakobsen 12 years ago
parent
commit
18e0dc95dd

+ 1 - 2
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);

+ 0 - 1
lib/Cake/I18n/L10n.php

@@ -327,7 +327,6 @@ class L10n {
 
 /**
  * Class constructor
- *
  */
 	public function __construct() {
 		if (defined('DEFAULT_LANGUAGE')) {

+ 0 - 1
lib/Cake/Model/Datasource/DataSource.php

@@ -431,7 +431,6 @@ class DataSource extends Object {
 
 /**
  * Closes the current datasource.
- *
  */
 	public function __destruct() {
 		if ($this->_transactionStarted) {

+ 0 - 1
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) {

+ 0 - 1
lib/Cake/Network/CakeSocket.php

@@ -331,7 +331,6 @@ class CakeSocket {
 
 /**
  * Destructor, used to disconnect from current connection.
- *
  */
 	public function __destruct() {
 		$this->disconnect();

+ 0 - 1
lib/Cake/TestSuite/CakeTestSuiteDispatcher.php

@@ -78,7 +78,6 @@ class CakeTestSuiteDispatcher {
 
 /**
  * Constructor
- *
  */
 	public function __construct() {
 		$this->_baseUrl = $_SERVER['PHP_SELF'];

+ 0 - 1
lib/Cake/Utility/File.php

@@ -96,7 +96,6 @@ class File {
 
 /**
  * Closes the current file if it is opened
- *
  */
 	public function __destruct() {
 		$this->close();