Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove data type mixed. Considered annotations for php7.4.
  • Loading branch information
Ramy-Badr-Ahmed committed Sep 11, 2024
commit 926126a9f85dd822ca47d14db968a2c15e32b529
2 changes: 1 addition & 1 deletion DataStructures/DisjointSets/DisjointSetNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class DisjointSetNode
* @var int|string|float|null
*/
// PHP7.4: Defined with annotations
public $data; # replace with type hint "mixed" as for PHP 8.0^.
public $data; # replace with type hint "mixed" as of PHP 8.0^.
public int $rank;
public DisjointSetNode $parent;

Expand Down