Skip to content

Commit 95f068e

Browse files
committed
refactor: remove unnecessary phpstan ignore comment and update phpstan configuration path
1 parent 8c052b0 commit 95f068e

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

phpstan.neon.dist

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
includes:
2+
- phpstan-baseline.neon
3+
4+
parameters:
5+
level: 4
6+
paths:
7+
- src
8+
- config
9+
- database
10+
tmpDir: build/phpstan
11+
checkOctaneCompatibility: true
12+
checkModelProperties: true

src/Abstracts/BaseGateWay.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function getResponse(): array
8585
*/
8686
public function getData(): array
8787
{
88-
return $this->getResponse()['data'];
88+
return $this->getResponse();
8989
}
9090

9191
/* Instantiate the http client wrapper class to make it available to the gateway classes

0 commit comments

Comments
 (0)