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 - New instance - ignore __construct
Summary: New instance - ignore __construct
Status: VERIFIED DUPLICATE of bug 142289
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-29 22:28 UTC by jirin_cz
Modified: 2009-02-19 22:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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