create-prisma-php-app 1.9.2 → 1.9.4

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.
@@ -27,6 +27,7 @@ $isGet = $requestMethod === 'GET';
27
27
  $isPost = $requestMethod === 'POST';
28
28
  $isPut = $requestMethod === 'PUT';
29
29
  $isDelete = $requestMethod === 'DELETE';
30
+ $isPatch = $requestMethod === 'PATCH';
30
31
  $isHead = $requestMethod === 'HEAD';
31
32
  $isOptions = $requestMethod === 'OPTIONS';
32
33
  $contentType = $_SERVER['CONTENT_TYPE'] ?? '';
@@ -209,6 +209,7 @@ try {
209
209
  else
210
210
  $isParentLayout = false;
211
211
 
212
+ ob_start();
212
213
  if (!empty($contentToInclude)) {
213
214
  if (!$isParentLayout) {
214
215
  require_once $contentToInclude;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "1.9.2",
3
+ "version": "1.9.4",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",