Skip to content

Commit 271f393

Browse files
committed
fix: ignore MakeSpecificationCommand.php
This because, the property `$type` can not have native type string.
1 parent 6db2fab commit 271f393

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

pint.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"preset": "psr12",
33
"exclude": ["tests/Commands/__snapshots__/files"],
4+
"notName": ["MakeSpecificationCommand.php"],
45
"rules": {
56
"align_multiline_comment": true,
67
"array_indentation": true,

src/Commands/MakeSpecificationCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
)]
1515
final class MakeSpecificationCommand extends GeneratorCommand
1616
{
17-
protected string $type = 'Specification';
17+
/**
18+
* @var string
19+
*/
20+
protected $type = 'Specification';
1821

1922
protected function getStub(): string
2023
{

0 commit comments

Comments
 (0)