Skip to content

Commit d5e3141

Browse files
committed
fix phpstan issues
1 parent 158c983 commit d5e3141

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

codeception.dist.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
namespace: DachcomBundle\Test
2+
support_namespace: Support
23
actor: Tester
34
paths:
45
tests: tests
5-
output: tests/_output
6-
data: tests/_data
7-
support: tests/_support
86
envs: tests/_envs
7+
output: tests/_output
98
log: tests/_output/var/logs
9+
data: tests/_data
10+
support: tests/Support
11+
bootstrap: _bootstrap.php
1012
settings:
11-
bootstrap: _bootstrap.php
1213
memory_limit: -1
1314
colors: true
1415
params:

src/Resource/FieldTransformer/Object/ObjectPathGenerator.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ public function transformData(string $dispatchTransformerName, ResourceContainer
5252
return null;
5353
}
5454

55-
$linkGenerator = $object->getClass()?->getLinkGenerator();
56-
55+
$linkGenerator = $object->getClass()->getLinkGenerator();
5756
if (!$linkGenerator instanceof LinkGeneratorInterface) {
5857
return null;
5958
}

0 commit comments

Comments
 (0)