Skip to content

Commit

Permalink
remove mixed typehint to comply with PHP 7.4 and 7.3.
Browse files Browse the repository at this point in the history
Is anyone still using those?
  • Loading branch information
yvo-niedrich committed Jul 12, 2024
1 parent 240e484 commit b8f2225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Primitive.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public function equals(Primitive $value): bool
* @param mixed $value
* @return bool
*/
public function matches(mixed $value): bool
public function matches($value): bool
{
if ($value instanceof self) {
$value = $value->get();
Expand Down

0 comments on commit b8f2225

Please sign in to comment.