NumberTag
This tag takes a first number in tag’s value, ignoring anything that follows
class Foo
{
    /**
     * @version 3  App version where property was introduced
     */
    public $amount;
}
NumberTag constructor takes the following params:
- name
- type (intorfloat)
- min value
- max value
$doc = (new ReflectionProperty('Foo', 'amount'))->getDocComment();
$customTags = [new NumberTag('version', 'int', 2, 5)];
$notations = getNotations($doc, $customTags);
var_export($notations);
Result:
[
    'version' => 3
]