mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 13:12:41 +00:00
Fix error in previous commit
This commit is contained in:
parent
931fe3b585
commit
ffa7bd5a5d
2 changed files with 4 additions and 4 deletions
|
@ -36,9 +36,9 @@ abstract class AbstractResult implements Result {
|
|||
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
|
||||
|
||||
|
|
|
@ -37,11 +37,11 @@ class Result implements \JKingWeb\Arsse\Db\Result {
|
|||
return iterator_to_array($this, false);
|
||||
}
|
||||
|
||||
public function changes() {
|
||||
public function changes(): int {
|
||||
return $this->rows;
|
||||
}
|
||||
|
||||
public function lastId() {
|
||||
public function lastId(): int {
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue