Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MDI-1429 Rename constructor class name to __construct #111

Merged
merged 1 commit into from
Nov 26, 2021

Conversation

seergiue
Copy link
Contributor

No description provided.

Copy link
Contributor

@kpicaza kpicaza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔨🔨🔨

@@ -48,7 +48,7 @@ class ADODB_Cache_MemCache {
var $_connected = false;
var $_memcache = false;

function ADODB_Cache_MemCache(&$obj)
function __construct(&$obj)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀 😨

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't know that you can use the class name as constructor

@kpicaza kpicaza merged commit 4451edd into sifophp:master Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants