Skip to content

Commit

Permalink
compat: typed properties
Browse files Browse the repository at this point in the history
  • Loading branch information
lmeysel committed Jul 28, 2023
1 parent 04cbe7e commit 831ec3e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/TypeScriptDeclarationGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,17 @@

class TypeScriptDeclarationGenerator
{
private Collection $routes;
/**
* @var Collection
*/
private $routes;

protected $indent = " ";

public function __construct(Collection $routes)
/**
* @param Collection $routes
*/
public function __construct($routes)
{
$this->routes = $routes;
}
Expand Down

0 comments on commit 831ec3e

Please sign in to comment.