php-sap/interfaces

View on GitHub
src/IFunction.php

Summary

Maintainability
A
0 mins
Test Coverage

@throws annotation of create has suspicious interface type \phpsap\interfaces\exceptions\IConnectionFailedException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public static function create(string $name, array $params = null, IConfiguration $config = null, IApi $api = null): IFunction;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of extractApi has suspicious interface type \phpsap\interfaces\exceptions\IUnknownFunctionException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function extractApi(): IApi;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of setParams 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

    public function setParams(array $params): IFunction;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of invoke has suspicious interface type \phpsap\interfaces\exceptions\IConnectionFailedException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function invoke(): array;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of extractApi has suspicious interface type \phpsap\interfaces\exceptions\IIncompleteConfigException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function extractApi(): IApi;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of setParams has suspicious interface type \phpsap\interfaces\exceptions\IConnectionFailedException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function setParams(array $params): IFunction;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of invoke has suspicious interface type \phpsap\interfaces\exceptions\IUnknownFunctionException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function invoke(): array;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of invoke has suspicious interface type \phpsap\interfaces\exceptions\IIncompleteConfigException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function invoke(): array;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of create has suspicious interface type \phpsap\interfaces\exceptions\IUnknownFunctionException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public static function create(string $name, array $params = null, IConfiguration $config = null, IApi $api = null): IFunction;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of getApi has suspicious interface type \phpsap\interfaces\exceptions\IConnectionFailedException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function getApi(): IApi;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of invoke has suspicious interface type \phpsap\interfaces\exceptions\IFunctionCallException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function invoke(): array;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of extractApi has suspicious interface type \phpsap\interfaces\exceptions\IConnectionFailedException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function extractApi(): IApi;
Severity: Minor
Found in src/IFunction.php by phan

@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

    public static function create(string $name, array $params = null, IConfiguration $config = null, IApi $api = null): IFunction;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of create has suspicious interface type \phpsap\interfaces\exceptions\IIncompleteConfigException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public static function create(string $name, array $params = null, IConfiguration $config = null, IApi $api = null): IFunction;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of getApi has suspicious interface type \phpsap\interfaces\exceptions\IUnknownFunctionException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function getApi(): IApi;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of setParams has suspicious interface type \phpsap\interfaces\exceptions\IIncompleteConfigException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function setParams(array $params): IFunction;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of setParams has suspicious interface type \phpsap\interfaces\exceptions\IUnknownFunctionException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function setParams(array $params): IFunction;
Severity: Minor
Found in src/IFunction.php by phan

@throws annotation of getApi has suspicious interface type \phpsap\interfaces\exceptions\IIncompleteConfigException for an @throws annotation, expected class (PHP allows interfaces to be caught, so this might be intentional)
Open

    public function getApi(): IApi;
Severity: Minor
Found in src/IFunction.php by phan

There are no issues that match your filters.

Category
Status