Skip to content

Commit 721009b

Browse files
authored
chore: update openapi.md to use PHP 8.0 properties (#1744)
1 parent aad3063 commit 721009b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

core/openapi.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,9 @@ use ApiPlatform\OpenApi\Model;
7171

7272
class OpenApiFactory implements OpenApiFactoryInterface
7373
{
74-
private $decorated;
7574

76-
public function __construct(OpenApiFactoryInterface $decorated)
75+
public function __construct(private OpenApiFactoryInterface $decorated)
7776
{
78-
$this->decorated = $decorated;
7977
}
8078

8179
public function __invoke(array $context = []): OpenApi

0 commit comments

Comments
 (0)