Skip to content

Commit 120f715

Browse files
authored
Merge pull request #50 from wergio/patch-1
typo in data/php4_constructors.php
2 parents 1bc9733 + c9fce32 commit 120f715

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/php4_constructors.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function php4_constructors($className, $methodName, array $methodAttributes, arr
1515
&& !in_array('static', $methodAttributes, true)
1616
&& !array_key_exists('__construct', $methods)
1717
&& empty($namespace)) {
18-
return 'You should use __constructor() method instead of "'.$methodName.'"';
18+
return 'You should use __construct() method instead of "'.$methodName.'"';
1919
}
2020

2121
return false;

0 commit comments

Comments
 (0)