Changeset 35
- Timestamp:
- 03/09/06 14:01:45 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.2/classes/phing/tasks/ext/svn/SvnBaseTask.php
r1 r35 109 109 * Creates a VersionControl_SVN class based on $mode 110 110 * 111 * @param modeThe SVN mode to use (info, export, checkout, ...)111 * @param string The SVN mode to use (info, export, checkout, ...) 112 112 * @throws BuildException 113 113 */ … … 151 151 * Executes the constructed VersionControl_SVN instance 152 152 * 153 * @param ar gsAdditional arguments to pass to SVN.154 * @return sstring Output generated by SVN.153 * @param array Additional arguments to pass to SVN. 154 * @return string Output generated by SVN. 155 155 */ 156 protected function run($args = NULL)156 protected function run($args = array()) 157 157 { 158 158 $svnstack = PEAR_ErrorStack::singleton('VersionControl_SVN'); … … 160 160 $tempArgs = $this->svnArgs; 161 161 162 if (is_array($args)) 163 { 164 $tempArgs = array_merge($tempArgs, $args); 165 } 162 $tempArgs = array_merge($tempArgs, $args); 166 163 167 164 if ($output = $this->svn->run($tempArgs))
