public function __construct()

in testData/output/Simple.php [11:22]


<weak_warning descr="phpstan: Method WebServCo\Framework\SourceCode::__construct() has parameter $data with no typehint specified."><weak_warning descr="phpstan: Method WebServCo\Framework\SourceCode::__construct() has parameter $type with no typehint specified.">   public function __construct($type, $data)</weak_warning></weak_warning>
    {
        switch ($type) {
            case self::TYPE_XML:
                break;
            default:
                throw new \WebServCo\Framework\Exceptions\ApplicationException('Type not implemented.');
<weak_warning descr="phpstan: Unreachable statement - code above always terminates.">               break;</weak_warning>
        }
        $this->type = $type;
        $this->data = $data;
    }