@@ -20,6 +20,9 @@ |
||
20 | 20 | return (new static('`toFeedItem` should return an instance of `Spatie\Feed\Feedable`'))->withSubject($subject); |
21 | 21 | } |
22 | 22 | |
23 | + /** |
|
24 | + * @param string $field |
|
25 | + */ |
|
23 | 26 | public static function missingField(FeedItem $subject, $field) |
24 | 27 | { |
25 | 28 | return (new static("Field `{$field}` is required"))->withSubject($subject); |