Skip to content

Commit fe402bc

Browse files
committed
Add types to properties
1 parent 2146d16 commit fe402bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exercises/php-gets-a-promotion/initial/php-gets-a-promotion.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
class RowVisitor
44
{
5-
private $visitor;
5+
private \Closure $visitor;
66

7-
private $key;
7+
private string $key;
88

9-
protected $basePath;
9+
protected string $basePath;
1010

1111
public function __construct(\Closure $visitor, string $key, array $config = [])
1212
{

0 commit comments

Comments
 (0)