This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 154159

Summary: New instance - ignore __construct
Product: php Reporter: jirin_cz <jirin_cz>
Component: EditorAssignee: Tomasz Slota <tslota>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description jirin_cz 2008-11-29 22:28:46 UTC
I have e.g. this class

<?php
class SomeClass{
   public function __construct($dir, $structure = true)
   {
   //code
   }
}

And when I want to make new instance, like
$instance = new Some(hit space and select from poupup), then autocomplete make new SomeClass, but without brackets ()
with parametres. 

I would expect new SomeClass($dir, $structure) or sometginh like this...
Comment 1 Tomasz Slota 2008-11-30 21:24:02 UTC

*** This issue has been marked as a duplicate of 142289 ***
Comment 2 Mikhail Matveev 2008-12-02 13:29:12 UTC
Verified