Skip to content

Commit eb514ae

Browse files
committed
Reduced complexity for temp var assignment.
1 parent 02d2b07 commit eb514ae

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

ToolkitApi/httpsupp.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,9 @@ public function driverJunkAway($xml)
219219
* @param string $db
220220
* @param $user
221221
* @param $pw
222-
* @param array $options
223222
* @return $this
224223
*/
225-
public function http_connect($db = '*LOCAL', $user, $pw, $options=array())
224+
public function http_connect($db = '*LOCAL', $user, $pw)
226225
{
227226
$this->_db = $db;
228227
$this->_user = $user;
@@ -235,12 +234,11 @@ public function http_connect($db = '*LOCAL', $user, $pw, $options=array())
235234
* @param string $database
236235
* @param $user
237236
* @param $password
238-
* @param null $options
239237
* @return httpsupp
240238
*/
241-
public function connect($database = '*LOCAL', $user, $password, $options = null)
239+
public function connect($database = '*LOCAL', $user, $password)
242240
{
243-
return $this->http_connect($database, $user, $password, $options = array());
241+
return $this->http_connect($database, $user, $password);
244242

245243
}
246244

0 commit comments

Comments
 (0)