From 4e68ca4baecd7febe1e253eb9801dbfa832b177b Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 22 Sep 2018 13:25:00 +0200 Subject: [PATCH] Fix phpstan --- Stdlib/Graph/Graph.php | 2 +- Utils/Barcode/C128Abstract.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Stdlib/Graph/Graph.php b/Stdlib/Graph/Graph.php index e3ccadb01..c1b81b904 100644 --- a/Stdlib/Graph/Graph.php +++ b/Stdlib/Graph/Graph.php @@ -403,7 +403,7 @@ class Graph continue; } - $diameter = \max($diameter, $this->getFloydWarshallShortestPath($node1, $node2)); + $diameter = \max($diameter, $this->getFloydWarshallShortestPath()); } } diff --git a/Utils/Barcode/C128Abstract.php b/Utils/Barcode/C128Abstract.php index 3119214a1..96914a8c8 100644 --- a/Utils/Barcode/C128Abstract.php +++ b/Utils/Barcode/C128Abstract.php @@ -267,9 +267,9 @@ abstract class C128Abstract /** * Validate the barcode string * - * @param string $code Barcode string + * @param string $barcode Barcode string * - * @return void + * @return bool * * @since 1.0.0 */