Skip to content

Commit

Permalink
PHP 7.1 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrolGenhald committed Jun 25, 2022
1 parent 2559222 commit a804e45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Psalm/Type/Atomic/TFalse.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
*/
class TFalse extends TBool
{
public bool $value = false;
/** @var false */
public $value = false;

public function __toString(): string
{
Expand Down
3 changes: 2 additions & 1 deletion src/Psalm/Type/Atomic/TTrue.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
*/
class TTrue extends TBool
{
public bool $value = true;
/** @var true */
public $value = true;

public function __toString(): string
{
Expand Down

0 comments on commit a804e45

Please sign in to comment.