Skip to content

Commit

Permalink
fixup! Support PHP 8.2 DNF type
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed Nov 12, 2023
1 parent 8507909 commit 6a6c17a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/Fake/FakePhp82Types.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,9 @@ class FakePhp82Types
{
public function method100(): false { return false; }
public function method101(): true { return true; }

// Methods with scalar type declarations
public function method102(): null { return null; }
// A method with no type declaration
public function method103(): FakeNullInterface&FakeNullInterface1 { return $this;}

// A method with no type declaration
public function method104(): FakeNullInterface|FakeNullInterface1 { return $this;}

public function method105(): FakeNullInterface|string { return $this;}
public function method106(): (FakeNullInterface&FakeNullInterface1)|string { return $this;}
}

0 comments on commit 6a6c17a

Please sign in to comment.