Fix phpstan

This commit is contained in:
Dennis Eichhorn 2018-09-22 13:46:59 +02:00
parent 4e68ca4bae
commit 69d94e8181
2 changed files with 3 additions and 1 deletions

View File

@ -403,10 +403,12 @@ class Graph
continue;
}
/** @var int $diameter */
$diameter = \max($diameter, $this->getFloydWarshallShortestPath());
}
}
/** @var int $diameter */
return $diameter;
}

View File

@ -82,7 +82,7 @@ class HIBCC
public function getDateFormat() : string
{
return $this->dateFormat();
return $this->dateFormat;
}
public function setExpirationDate(\DateTime $date) : void