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

Commit cf1928f

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 6bdc2a5 + 2626896 commit cf1928f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dispatcher.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ public function processError($error) {
341341
*/
342342
public function processWarnings($warnings) {
343343
$result = array();
344-
if(\count($warnings) === 1) {
344+
if($warnings instanceof \stdClass) {
345345
$result[\intval($warnings->kod_varov)] = $this->getWarningMsg($warnings->kod_varov);
346346
} else {
347347
foreach ($warnings as $warning) {

0 commit comments

Comments
 (0)