Skip to content

Commit

Permalink
fixed constructor signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
inoryy committed Nov 5, 2012
1 parent 21603da commit 3fefd84
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
6 changes: 4 additions & 2 deletions src/Banklink/Krediidipank.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ class Krediidipank extends Banklink
* Force iPizza protocol
*
* @param \Banklink\iPizza $protocol
* @param boolean $testMode
* @param string | null $requestUrl
*/
public function __construct(iPizza $protocol)
public function __construct(iPizza $protocol, $testMode = false, $requestUrl = null)
{
parent::__construct($protocol);
parent::__construct($protocol, $testMode, $requestUrl);
}

/**
Expand Down
6 changes: 4 additions & 2 deletions src/Banklink/LHV.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ class LHV extends Banklink
* Force iPizza protocol
*
* @param \Banklink\iPizza $protocol
* @param boolean $testMode
* @param string | null $requestUrl
*/
public function __construct(iPizza $protocol)
public function __construct(iPizza $protocol, $testMode = false, $requestUrl = null)
{
parent::__construct($protocol);
parent::__construct($protocol, $testMode, $requestUrl);
}

/**
Expand Down
6 changes: 4 additions & 2 deletions src/Banklink/SEB.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ class SEB extends Banklink
* Force iPizza protocol
*
* @param \Banklink\iPizza $protocol
* @param boolean $testMode
* @param string | null $requestUrl
*/
public function __construct(iPizza $protocol)
public function __construct(iPizza $protocol, $testMode = false, $requestUrl = null)
{
parent::__construct($protocol);
parent::__construct($protocol, $testMode, $requestUrl);
}

/**
Expand Down
6 changes: 4 additions & 2 deletions src/Banklink/Sampo.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ class Sampo extends Banklink
* Force iPizza protocol
*
* @param \Banklink\iPizza $protocol
* @param boolean $testMode
* @param string | null $requestUrl
*/
public function __construct(iPizza $protocol)
public function __construct(iPizza $protocol, $testMode = false, $requestUrl = null)
{
parent::__construct($protocol);
parent::__construct($protocol, $testMode, $requestUrl);
}

/**
Expand Down
6 changes: 4 additions & 2 deletions src/Banklink/Swedbank.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ class Swedbank extends Banklink
* Force iPizza protocol
*
* @param \Banklink\iPizza $protocol
* @param boolean $testMode
* @param string | null $requestUrl
*/
public function __construct(iPizza $protocol)
public function __construct(iPizza $protocol, $testMode = false, $requestUrl = null)
{
parent::__construct($protocol);
parent::__construct($protocol, $testMode, $requestUrl);
}

/**
Expand Down

0 comments on commit 3fefd84

Please sign in to comment.