diff --git a/.jeeves.yaml b/.jeeves.yaml index aa4e9c6..7e8ed4d 100644 --- a/.jeeves.yaml +++ b/.jeeves.yaml @@ -61,6 +61,7 @@ Mygento: payment_url: type: varchar nullable: false + length: 512 comment: 'Payment Url' try: type: int diff --git a/Gateway/Http/Client/Client.php b/Gateway/Http/Client/Client.php index 25f6155..ed0085d 100644 --- a/Gateway/Http/Client/Client.php +++ b/Gateway/Http/Client/Client.php @@ -39,13 +39,13 @@ public function __construct( /** * @param \Magento\Payment\Gateway\Http\TransferInterface $transferObject - * @return null + * @return array * * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function placeRequest(\Magento\Payment\Gateway\Http\TransferInterface $transferObject) { - return null; + return []; } /** diff --git a/etc/db_schema.xml b/etc/db_schema.xml index 3df22f0..84ac406 100644 --- a/etc/db_schema.xml +++ b/etc/db_schema.xml @@ -21,7 +21,7 @@ - + diff --git a/grumphp.yml b/grumphp.yml index 4d38d11..1f0d358 100644 --- a/grumphp.yml +++ b/grumphp.yml @@ -16,6 +16,5 @@ grumphp: warning_severity: 0 xmllint: phpstan: - autoload_file: 'vendor/mygento/coding-standard/stan/autoload.php' ignore_patterns: ['Test'] level: 1