1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-23 05:54:55 +00:00

Fix error in previous commit

This commit is contained in:
J. King 2018-11-02 12:01:03 -04:00
parent 931fe3b585
commit ffa7bd5a5d
2 changed files with 4 additions and 4 deletions

View file

@ -36,9 +36,9 @@ abstract class AbstractResult implements Result {
return iterator_to_array($this, false); return iterator_to_array($this, false);
} }
abstract public function changes(); abstract public function changes(): int;
abstract public function lastId(); abstract public function lastId(): int;
// PHP iterator methods // PHP iterator methods

View file

@ -37,11 +37,11 @@ class Result implements \JKingWeb\Arsse\Db\Result {
return iterator_to_array($this, false); return iterator_to_array($this, false);
} }
public function changes() { public function changes(): int {
return $this->rows; return $this->rows;
} }
public function lastId() { public function lastId(): int {
return $this->id; return $this->id;
} }