We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70f6bf4 commit 17a444bCopy full SHA for 17a444b
src/Exercise/TheAttributesOfSuccess.php
@@ -37,7 +37,7 @@ class TheAttributesOfSuccess extends AbstractExercise implements
37
FileComparisonExerciseCheck,
38
SelfCheck
39
{
40
- public function __construct(private Parser $parser, private FakerGenerator $faker)
+ public function __construct(private Parser $parser, private FakerGenerator $faker)
41
42
}
43
@@ -185,7 +185,6 @@ public function check(Input $input): ResultInterface
185
&& $node->params[0]->var->name === 'key'
186
&& $node->params[0]->type instanceof \PhpParser\Node\Identifier
187
&& $node->params[0]->type->name === 'string';
188
-
189
});
190
191
if ($prop === null && $promotedProp === null) {
0 commit comments