mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-05-24 02: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}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function getCoordinate($index)
|
public function getCoordinate(int $index)
|
||||||
{
|
{
|
||||||
return $this->coordinates[$index];
|
return $this->coordinates[$index];
|
||||||
}
|
}
|
||||||
|
|
@ -81,7 +81,7 @@ class Point implements PointInterface
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function setCoordinate($index, $value) : void
|
public function setCoordinate(int $index, $value) : void
|
||||||
{
|
{
|
||||||
$this->coordinates[$index] = $value;
|
$this->coordinates[$index] = $value;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user