Support » Plugin: Browser and Operating System Finder » Class construct method

  • Resolved Ben Huson

    (@husobj)


    Hi

    This plugin generates the warning “Methods with the same name as their class will not be constructors in a future version of PHP”.

    The Browser class constructor should be __construct instead of Browser.

    There may be other instances but I just spotted that one.

    Kind regards

    Ben

Viewing 1 replies (of 1 total)
  • Plugin Author Aftab Muni

    (@aftabmuni)

    Hello Ben Huson (@husobj)
    Thanks for finding this bug. I had fixed it.

    Regards,
    Aftab.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.