NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
code completion and interfaces


Joined: 06 Apr 2007
Posts: 48
Location: Gdansk, POLAND
Reply with quote
Code:
<?php
   class AClass
   {
      function someAMethod() {}
   }
   
  interface Test_Interface
  {
     /**
     * @return AClass
     */
     function someTestMethod();
   }
   
   /**
   * @var Test_Interface
   */
   $x = something();
   $x->someTestMethod()->|
   // Failed to find "Test_Interface::someTestMethod()" method
?>


The IDE finds out the type of $x, but in strange way --- when I type $x-> and press ctrl+space I see the method names (from interface) but they don't look like methods at all in the dropdown list - there is only method name, without brackets, arguments, access - strange.
View user's profileFind all posts by NatanielSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Thanks for the report.
It's already fixed in the HEAD branch and fix itself will come with the next major version (soon):



_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 06 Apr 2007
Posts: 48
Location: Gdansk, POLAND
Reply with quote
That's SOO GREAT Smile I'm waiting for the version as I'm currently working on big project based on ZendFramework and I really need those interfaces Smile
View user's profileFind all posts by NatanielSend private messageVisit poster's website
code completion and interfaces
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic