Skip to content

Commit d6e7a8d

Browse files
committed
update psalm/phpstan rules
1 parent f4d6dca commit d6e7a8d

File tree

5 files changed

+2
-22
lines changed

5 files changed

+2
-22
lines changed

phpstan-baseline.neon

Lines changed: 0 additions & 7 deletions
This file was deleted.

phpstan.neon

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
includes:
2-
- phpstan-baseline.neon
3-
41
parameters:
52
checkMissingIterableValueType: false
63
fileExtensions:

psalm-baseline.xml

Lines changed: 0 additions & 9 deletions
This file was deleted.

psalm.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
66
xmlns="https://getpsalm.org/schema/config"
77
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
8-
errorBaseline="psalm-baseline.xml"
98
>
109
<projectFiles>
1110
<directory name="src"/>

src/WalletServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ private function contextBinding(array $bookkeeperStore): void
162162
{
163163
$this->app->when(BookkeeperServiceInterface::class)
164164
->needs(StorageServiceInterface::class)
165-
->give(fn () => $this->app->makeWith(
165+
->give(fn () => $this->app->make(
166166
StorageServiceInterface::class,
167167
[
168168
'cacheRepository' => $this->app->make(CacheManager::class)
@@ -173,7 +173,7 @@ private function contextBinding(array $bookkeeperStore): void
173173

174174
$this->app->when(RegulatorServiceInterface::class)
175175
->needs(StorageServiceInterface::class)
176-
->give(fn () => $this->app->makeWith(
176+
->give(fn () => $this->app->make(
177177
StorageServiceInterface::class,
178178
[
179179
'cacheRepository' => $this->app->make(CacheManager::class)

0 commit comments

Comments
 (0)