Skip to content

Commit

Permalink
Ignore code coverage for abstract method
Browse files Browse the repository at this point in the history
I feel like this should be handled by PHPUnit, as I don't see how it's possible to test it and it's only this one method that is an issue, maybe because it's inherited from an interface?
  • Loading branch information
caendesilva committed Jun 29, 2024
1 parent e4174de commit 5d90e95
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ abstract class PageDataFactory implements Arrayable
* Get the generated data as an associative array.
*
* @return array<string, mixed>
*
* @codeCoverageIgnore
*/
abstract public function toArray(): array;
}

0 comments on commit 5d90e95

Please sign in to comment.