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 */