From 767174015892dde07a6bc9999e9170b7c21dd378 Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Mon, 9 Feb 2015 17:36:09 +0100 Subject: Fix confusing variable name. There is only one parameter to check so rename the confusing 'parameters' variable name to 'parameter' accross all the code base. --- routers/router.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'routers/router.php') diff --git a/routers/router.php b/routers/router.php index 6753f94..984de2d 100644 --- a/routers/router.php +++ b/routers/router.php @@ -110,11 +110,11 @@ abstract class Router { protected abstract function build_traceroute($destination); - protected abstract function build_commands($command, $parameters); + protected abstract function build_commands($command, $parameter); - public function send_command($command, $parameters) { + public function send_command($command, $parameter) { try { - $commands = $this->build_commands($command, $parameters); + $commands = $this->build_commands($command, $parameter); } catch (Exception $e) { throw $e; } -- cgit v1.2.3