Skip to content

Commit

Permalink
Fixing warnings (#4)
Browse files Browse the repository at this point in the history
* Making requirements a bit more loose to suit our needs when we have empty account and no id for verification

* rollback for account

* Allow zeros to be set in Account.php

* Change condition to allow zeros

* add default value for verirications pre processing system
  • Loading branch information
PatNowak authored and johanwilfer committed Jan 8, 2020
1 parent 1a9ac57 commit ad37ad8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SIE/Data/VerificationSeries.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class VerificationSeries
public function __construct($id = self::CONST_DEFAULT_SERIES)
{
$this->verifications = [];
$this->verificationsPreProcessingSystem = [];
$this->id = $id;
}

Expand Down Expand Up @@ -116,7 +117,7 @@ public function getVerifications()

/**
* Get verification - will only find numbered verifications
*
*
* @param string $id Search for verification number
* @return Verification|null
*/
Expand Down

0 comments on commit ad37ad8

Please sign in to comment.