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

This commit is contained in:
Kim Egede Jakobsen 2013-09-08 21:19:46 +02:00
parent f0205f53ad
commit 18e0dc95dd
7 changed files with 1 additions and 8 deletions

View file

@ -286,8 +286,7 @@ class ConsoleOutput {
} }
/** /**
* clean up and close handles * Clean up and close handles
*
*/ */
public function __destruct() { public function __destruct() {
fclose($this->_output); fclose($this->_output);

View file

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

View file

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

View file

@ -3306,7 +3306,6 @@ class DboSource extends DataSource {
/** /**
* Used for storing in cache the results of the in-memory methodCache * Used for storing in cache the results of the in-memory methodCache
*
*/ */
public function __destruct() { public function __destruct() {
if ($this->_methodCacheChange) { if ($this->_methodCacheChange) {

View file

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

View file

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

View file

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