mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Adding a no-op constructor for Object. Fixes issues where numerous sub-classes break because of a missing constructor in Object.
This commit is contained in:
parent
146ec004eb
commit
40e310c79b
1 changed files with 9 additions and 0 deletions
|
@ -32,6 +32,15 @@
|
||||||
*/
|
*/
|
||||||
class Object {
|
class Object {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* constructor, no-op
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function __construct() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Object-to-string conversion.
|
* Object-to-string conversion.
|
||||||
* Each class can override this method as necessary.
|
* Each class can override this method as necessary.
|
||||||
|
|
Loading…
Reference in a new issue