mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-03-29 10:08:40 +00:00
Make types more specific NO_CI
This commit is contained in:
parent
98adcaad7c
commit
f86a0aa6ed
|
|
@ -73,7 +73,7 @@ class Point implements PointInterface
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getCoordinate($index)
|
||||
public function getCoordinate(int $index)
|
||||
{
|
||||
return $this->coordinates[$index];
|
||||
}
|
||||
|
|
@ -81,7 +81,7 @@ class Point implements PointInterface
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function setCoordinate($index, $value) : void
|
||||
public function setCoordinate(int $index, $value) : void
|
||||
{
|
||||
$this->coordinates[$index] = $value;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user