src/Api/IMember.php
@throws annotation of __construct
has suspicious interface type \phpsap\interfaces\exceptions\IInvalidArgumentException
for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional) Open
Open
public function __construct(array $array);
- Exclude checks
@throws annotation of cast
has suspicious interface type \phpsap\interfaces\exceptions\IInvalidArgumentException
for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional) Open
Open
public function cast(null|bool|int|float|string $value): null|bool|int|float|string|DateTime|DateInterval;
- Exclude checks
@throws annotation of create
has suspicious interface type \phpsap\interfaces\exceptions\IInvalidArgumentException
for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional) Open
Open
public static function create(string $type, string $name): IMember;
- Exclude checks
Doc-block of $value
in cast
is phpdoc param type bool|float|int|string
which is not a permitted replacement of the nullable param type bool|float|int|null|string
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param float|bool|int|string $value The output to typecast.
- Exclude checks