Skip to content

Commit c481062

Browse files
committed
Merge pull request #444 from wmde/snaksEmpty
Not all Snaks implementations do have an isEmpty
2 parents b1e9b3b + a6d07d2 commit c481062

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)