Merge pull request #1857 from srini85/master

return null rather than casting to int if the id is null
This commit is contained in:
Denis Duliçi 2021-02-26 11:12:44 +03:00 committed by GitHub
commit 4a6d1b412e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ trait Import
} }
} }
return (int) $id; return $id == null ? null : (int) $id;
} }
public function getItemId($row) public function getItemId($row)