From da649fdc7907a6e5378e2058a82d9f9ec3d63605 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sat, 24 Mar 2012 22:47:16 +0100 Subject: [PATCH] Remove unused pipe argument --- src/Composer/Util/Svn.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Composer/Util/Svn.php b/src/Composer/Util/Svn.php index 27435e311..93de9c474 100644 --- a/src/Composer/Util/Svn.php +++ b/src/Composer/Util/Svn.php @@ -97,11 +97,10 @@ class Svn * @param string $cmd Usually 'svn ls' or something like that. * @param string $url Repo URL. * @param string $path The path to run this against (e.g. a 'co' into) - * @param mixed $pipe Optional pipe for the output. * * @return string */ - public function getCommand($cmd, $url, $path = '', $pipe = null) + public function getCommand($cmd, $url, $path = '') { $cmd = sprintf('%s %s%s %s', $cmd, @@ -112,9 +111,7 @@ class Svn if (!empty($path)) { $cmd .= ' ' . escapeshellarg($path); } - if ($pipe !== null) { - $cmd .= ' ' . $pipe; - } + return $cmd; }