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