We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f66e17 commit a3270feCopy full SHA for a3270fe
src/TypeScriptifyModel.php
@@ -90,7 +90,7 @@ public function __construct(
90
* @return bool
91
*/
92
private function hasSupportedDatabaseConnection(): bool {
93
- return collect(self::SUPPORTED_DATABASE_CONNECTIONS)->contains(DB::getDefaultConnection());
+ return in_array(DB::getDefaultConnection(), self::SUPPORTED_DATABASE_CONNECTIONS);
94
}
95
96
/**
0 commit comments