Title: Method with same name as class constructor
Last modified: March 3, 2017

---

# Method with same name as class constructor

 *  [Kyle](https://wordpress.org/support/users/kylewlawrence/)
 * (@kylewlawrence)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/method-with-same-name-as-class-constructor/)
 * Could we change line 51 of 404-error-monitor/index.php to use __construct instead
   of the classname as the method? This is depreciated.

The topic ‘Method with same name as class constructor’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/404-error-monitor.svg)
 * [404 Error Monitor](https://wordpress.org/plugins/404-error-monitor/)
 * [Support Threads](https://wordpress.org/support/plugin/404-error-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/404-error-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/404-error-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/404-error-monitor/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Kyle](https://wordpress.org/support/users/kylewlawrence/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/method-with-same-name-as-class-constructor/)
 * Status: not resolved