File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
src/Illuminate/Database/Eloquent/Relations Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ abstract class MorphOneOrMany extends HasOneOrMany
25
25
/**
26
26
* The class name of the parent model.
27
27
*
28
- * @var string
28
+ * @var class- string<TRelatedModel>
29
29
*/
30
30
protected $ morphClass ;
31
31
@@ -159,7 +159,7 @@ public function getMorphType()
159
159
/**
160
160
* Get the class name of the parent model.
161
161
*
162
- * @return string
162
+ * @return class- string<TRelatedModel>
163
163
*/
164
164
public function getMorphClass ()
165
165
{
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class MorphPivot extends Pivot
18
18
*
19
19
* Explicitly define this so it's not included in saved attributes.
20
20
*
21
- * @var string
21
+ * @var class- string
22
22
*/
23
23
protected $ morphClass ;
24
24
@@ -100,7 +100,7 @@ public function setMorphType($morphType)
100
100
/**
101
101
* Set the morph class for the pivot.
102
102
*
103
- * @param string $morphClass
103
+ * @param class- string $morphClass
104
104
* @return \Illuminate\Database\Eloquent\Relations\MorphPivot
105
105
*/
106
106
public function setMorphClass ($ morphClass )
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class MorphToMany extends BelongsToMany
25
25
/**
26
26
* The class name of the morph type constraint.
27
27
*
28
- * @var string
28
+ * @var class- string<TRelatedModel>
29
29
*/
30
30
protected $ morphClass ;
31
31
@@ -212,7 +212,7 @@ public function getQualifiedMorphTypeName()
212
212
/**
213
213
* Get the class name of the parent model.
214
214
*
215
- * @return string
215
+ * @return class- string<TRelatedModel>
216
216
*/
217
217
public function getMorphClass ()
218
218
{
You can’t perform that action at this time.
0 commit comments