Skip to content

Commit f707676

Browse files
Ensure all properties have a type
1 parent 0e73963 commit f707676

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

Console/Descriptor/Descriptor.php

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,14 @@
2929
*/
3030
abstract class Descriptor implements DescriptorInterface
3131
{
32-
/** @var OutputStyle */
33-
protected $output;
34-
protected $type;
35-
protected $ownOptions = [];
36-
protected $overriddenOptions = [];
37-
protected $parentOptions = [];
38-
protected $extensionOptions = [];
39-
protected $requiredOptions = [];
40-
protected $parents = [];
41-
protected $extensions = [];
32+
protected OutputStyle $output;
33+
protected array $ownOptions = [];
34+
protected array $overriddenOptions = [];
35+
protected array $parentOptions = [];
36+
protected array $extensionOptions = [];
37+
protected array $requiredOptions = [];
38+
protected array $parents = [];
39+
protected array $extensions = [];
4240

4341
public function describe(OutputInterface $output, ?object $object, array $options = []): void
4442
{

Tests/AbstractRequestHandlerTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ abstract class AbstractRequestHandlerTestCase extends TestCase
3131
{
3232
protected RequestHandlerInterface $requestHandler;
3333
protected FormFactory $factory;
34-
protected $request;
34+
protected mixed $request = null;
3535
protected ServerParams $serverParams;
3636

3737
protected function setUp(): void

0 commit comments

Comments
 (0)