You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generate ActiveRecord for table containing interger or boolean fields
What's expected?
Generated class PHPDocs displays attribute types in short name (PHP7 style). e.g. @property int $id
What do you get instead?
Generated class PHPDocs displays attribute types in full name e.g. @property integer $id
Additional info
Q
A
Yii version
*
PHP version
*
Operating system
*
Back at Yii2 project there was a decision made to switch long names for integer and boolean types to the short ones: int and bool to match type names introduced by PHP 7.
What steps will reproduce the problem?
Generate ActiveRecord for table containing interger or boolean fields
What's expected?
Generated class PHPDocs displays attribute types in short name (PHP7 style). e.g.
@property int $id
What do you get instead?
Generated class PHPDocs displays attribute types in full name e.g.
@property integer $id
Additional info
Back at Yii2 project there was a decision made to switch long names for
integer
andboolean
types to the short ones:int
andbool
to match type names introduced by PHP 7.See yiisoft/yii2#12055
The text was updated successfully, but these errors were encountered: