Skip to content

Commit 702334f

Browse files
committed
fix types
1 parent 051df2c commit 702334f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Driver/Cassandra/Cassandra.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public function save(ModelInterface $model): bool
154154
/**
155155
* Get the model
156156
*
157-
* @param class-string $modelClass
157+
* @param class-string<ModelInterface> $modelClass
158158
* @param mixed $id
159159
* @param ModelInterface|null $model
160160
* @return ModelInterface|null

src/Driver/Mysqli/Mysqli.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public function save(ModelInterface $model): bool
175175
/**
176176
* Get the model
177177
*
178-
* @param class-string $modelClass
178+
* @param class-string<ModelInterface> $modelClass
179179
* @param mixed $id
180180
* @param ModelInterface|null $model
181181
* @return ModelInterface|null

src/Driver/Redis/Redis.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function save(ModelInterface $model): bool
113113
/**
114114
* Get the model
115115
*
116-
* @param class-string $modelClass
116+
* @param class-string<ModelInterface> $modelClass
117117
* @param mixed $id
118118
* @param ModelInterface|null $model
119119
* @return ModelInterface|null

0 commit comments

Comments
 (0)