summaryrefslogtreecommitdiff
path: root/routers/router.php
diff options
context:
space:
mode:
authorGuillaume Mazoyer <respawneral@gmail.com>2015-02-09 17:36:09 +0100
committerGuillaume Mazoyer <respawneral@gmail.com>2015-02-09 17:36:09 +0100
commit767174015892dde07a6bc9999e9170b7c21dd378 (patch)
treee1cf636135922d1548168722e73a663636599b5f /routers/router.php
parente2172308eec0ee790fe21858ae1c45e72407fa8c (diff)
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.
Diffstat (limited to 'routers/router.php')
-rw-r--r--routers/router.php6
1 files changed, 3 insertions, 3 deletions
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;
}