Skip to content
Merged
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function getCriterion(Limitation $value, UserReference $currentUser): Cri
throw new NotImplementedException(__METHOD__);
}

public function valueSchema()
public function valueSchema(): never
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel never is the right keyword to use here: https://www.php.net/manual/en/language.types.never.php

I would stick to interface here but I guess never will also work in this particular example.

{
throw new NotImplementedException(__METHOD__);
}
Expand Down
Loading