create-prisma-php-app 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -268,7 +268,7 @@ class UploadFile
268
268
  UPLOAD_ERR_NO_FILE => 'No file submitted.',
269
269
  ];
270
270
 
271
- $this->errorCode = $file['error'];
271
+ $this->errorCode[] = $file['error'];
272
272
  $this->messages[] = $errorMessages[$file['error']] ?? 'Problem uploading ' . $file['name'];
273
273
  }
274
274
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",