Skip to content

Commit a6d07d2

Browse files
committed
Not all Snaks implementations do have an isEmpty
1 parent a1b5177 commit a6d07d2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Reference.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public function count() {
7070
* @return bool
7171
*/
7272
public function isEmpty() {
73+
// FIXME: Not all implementations of Snaks are guaranteed to have an isEmpty method.
7374
return $this->snaks->isEmpty();
7475
}
7576

0 commit comments

Comments
 (0)