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 271197 - PHPDoc doesn't understand the type "callable"
Summary: PHPDoc doesn't understand the type "callable"
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Windows 10
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-29 22:27 UTC by rednael
Modified: 2017-07-29 22:27 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 rednael 2017-07-29 22:27:33 UTC
Product Version = NetBeans IDE 8.2 (Build 201705191307)
Operating System = Windows 10 version 10.0 running on x86
Java; VM; Vendor = 1.8.0_101
Runtime = Java HotSpot(TM) Client VM 25.101-b13

Reproducibility: null

STEPS:
  * In php, start a namespace
  * inside the namespace, create a function with a parameter.
  * Use PHPDoc to describe the function and its parameter, set the parameter's type to callable (@param callable $myCallable)
  * Inside the function, type the $ and the first char of the parameter name.
  * Hit Ctrl+Space and look at the pop-up that suggests the parameter, and then look at the presented type.
  * It shows the function's namespace and the word callable, as if callable would be a class within the namespace.

ACTUAL:
  nothing happens

EXPECTED:
  It shows the type callable, as it would show the type string or int, etc...