Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Amunak committed Jul 17, 2019
2 parents 6bdc2a5 + 2626896 commit cf1928f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public function processError($error) {
*/
public function processWarnings($warnings) {
$result = array();
if(\count($warnings) === 1) {
if($warnings instanceof \stdClass) {
$result[\intval($warnings->kod_varov)] = $this->getWarningMsg($warnings->kod_varov);
} else {
foreach ($warnings as $warning) {
Expand Down

0 comments on commit cf1928f

Please sign in to comment.