Bug 553378 - fix boolean type detection for generated class property PHPDocs
Summary: fix boolean type detection for generated class property PHPDocs
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-22 19:28 EST by Thierry BLIND CLA
Modified: 2020-05-14 13:14 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry BLIND CLA 2019-11-22 19:28:47 EST
Step to reproduce:
1. create following file and let PDT generate the property PHPDoc :
<?php
class A
{
    /**| <-- press enter here
    public $var = false;
}

2. you'll get :
<?php
class A
{
    /**
     * 
     * @var string
     */
    public $var = false;
}

Of course you should have @var boolean.

Thierry.
Comment 1 Eclipse Genie CLA 2019-11-23 07:07:50 EST
New Gerrit change created: https://git.eclipse.org/r/153255
Comment 3 Thierry BLIND CLA 2019-11-23 07:33:26 EST
Fixed.