create-prisma-php-app 2.0.0-beta.2 → 2.0.0-beta.3

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.
@@ -317,7 +317,7 @@ class Auth
317
317
  private function findProvider(array $providers, string $type): ?object
318
318
  {
319
319
  foreach ($providers as $provider) {
320
- if ($provider instanceof $type) {
320
+ if (is_object($provider) && get_class($provider) === $type) {
321
321
  return $provider;
322
322
  }
323
323
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "2.0.0-beta.2",
3
+ "version": "2.0.0-beta.3",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",