Completed
Push — master ( 9038ff...55d9a6 )
by Sebastian
03:06 queued 11s
created
src/Exceptions/InvalidFeedItem.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Feed.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Spatie\Feed;
4 4
 
5
+use Illuminate\Contracts\Support\Responsable;
5 6
 use Illuminate\Http\Response;
6 7
 use Illuminate\Support\Collection;
7 8
 use Spatie\Feed\Exceptions\InvalidFeedItem;
8
-use Illuminate\Contracts\Support\Responsable;
9 9
 
10 10
 class Feed implements Responsable
11 11
 {
Please login to merge, or discard this patch.