Phpinspectionsea: __construct is probably missing baseApp::__construct call

Created on 1 Aug 2017  路  2Comments  路  Source: kalessil/phpinspectionsea

<?php

abstract class baseApp
{
    abstract public function __construct( array $opts );
}


class foo extends baseApp
{
    public function __construct( array $opts )
    {

    }
}

the example code trigger the inspect "__construct is probably missing baseApp::__construct call", in this case you cant really call parent __construct as it's abstract.

bug / false-positive fixed

All 2 comments

Oops, thank you for reporting @ArabCoders, I'll take care of fixing this.

@kalessil thank you for your fast reply xD

Was this page helpful?
0 / 5 - 0 ratings