mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-12 06:56:24 +00:00
Remove @return from docblock (for __construct && __destruct methods)
This commit is contained in:
parent
f0205f53ad
commit
18e0dc95dd
7 changed files with 1 additions and 8 deletions
|
@ -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);
|
||||||
|
|
|
@ -327,7 +327,6 @@ class L10n {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class constructor
|
* Class constructor
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
if (defined('DEFAULT_LANGUAGE')) {
|
if (defined('DEFAULT_LANGUAGE')) {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -78,7 +78,6 @@ class CakeTestSuiteDispatcher {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
$this->_baseUrl = $_SERVER['PHP_SELF'];
|
$this->_baseUrl = $_SERVER['PHP_SELF'];
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Add table
Reference in a new issue