We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0306fc commit 2309737Copy full SHA for 2309737
src/Models/Contracts/ModelHasFactory.php
@@ -3,11 +3,12 @@
3
namespace StellarWP\Models\Contracts;
4
5
use StellarWP\Models\ModelFactory;
6
+use StellarWP\Models\Contracts\ModelCrud;
7
8
/**
9
* @since 1.0.0
10
*/
-interface ModelHasFactory {
11
+interface ModelHasFactory extends ModelCrud {
12
13
14
*
src/Models/ModelFactory.php
@@ -5,9 +5,10 @@
use Closure;
use Exception;
use StellarWP\DB\DB;
- * @template M
+ * @template M of ModelCrud
abstract class ModelFactory {
0 commit comments