Skip to content

Commit

Permalink
Use types properties in Page constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
Naktibalda committed Mar 11, 2022
1 parent 13d5745 commit 06fa927
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/Constraint/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 16,9 @@

class Page extends Constraint
{
/**
* @var string
*/
protected $uri;
/**
* @var string
*/
protected $string;
protected string $uri;

protected string $string;

public function __construct(string $string, string $uri = '')
{
Expand Down

0 comments on commit 06fa927

Please sign in to comment.