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 6cdfde0 commit de089d4Copy full SHA for de089d4
src/Providers/Contracts/ProviderInterface.php
@@ -34,11 +34,11 @@ public static function metadata(): ProviderMetadata;
34
* @since n.e.x.t
35
*
36
* @param string $modelId Model identifier.
37
- * @param ModelConfig|array<string,mixed> $modelConfig Model configuration.
+ * @param ?ModelConfig $modelConfig Model configuration.
38
* @return ModelInterface Model instance.
39
* @throws InvalidArgumentException If model not found or configuration invalid.
40
*/
41
- public static function model(string $modelId, $modelConfig = []): ModelInterface;
+ public static function model(string $modelId, ?ModelConfig $modelConfig = null): ModelInterface;
42
43
/**
44
* Gets provider availability checker.
0 commit comments