mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 05:58:42 +00:00
Fix phpstan
This commit is contained in:
parent
4e68ca4bae
commit
69d94e8181
|
|
@ -403,10 +403,12 @@ class Graph
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @var int $diameter */
|
||||||
$diameter = \max($diameter, $this->getFloydWarshallShortestPath());
|
$diameter = \max($diameter, $this->getFloydWarshallShortestPath());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @var int $diameter */
|
||||||
return $diameter;
|
return $diameter;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@ class HIBCC
|
||||||
|
|
||||||
public function getDateFormat() : string
|
public function getDateFormat() : string
|
||||||
{
|
{
|
||||||
return $this->dateFormat();
|
return $this->dateFormat;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setExpirationDate(\DateTime $date) : void
|
public function setExpirationDate(\DateTime $date) : void
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user