mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
um yeh
This commit is contained in:
parent
c12f48b84b
commit
457eee1157
5 changed files with 15 additions and 15 deletions
|
|
@ -21,7 +21,7 @@ class Matrix implements ArrayAccess{
|
|||
}
|
||||
}
|
||||
|
||||
public function offsetExists(mixed $offset): mixed{
|
||||
public function offsetExists(mixed $offset): bool{
|
||||
return isset($this->matrix[(int) $offset]);
|
||||
}
|
||||
|
||||
|
|
@ -29,11 +29,11 @@ class Matrix implements ArrayAccess{
|
|||
return $this->matrix[(int) $offset];
|
||||
}
|
||||
|
||||
public function offsetSet(mixed $offset, mixed $value): mixed{
|
||||
public function offsetSet(mixed $offset, mixed $value): void{
|
||||
$this->matrix[(int) $offset] = $value;
|
||||
}
|
||||
|
||||
public function offsetUnset(mixed $offset): mixed{
|
||||
public function offsetUnset(mixed $offset): void{
|
||||
unset($this->matrix[(int) $offset]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue