Completed
Push — issue/281 ( 9c3fea )
by Alex
02:00
created
src/FeedIo/Rule/Media.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 
11 11
 namespace FeedIo\Rule;
12 12
 
13
-use FeedIo\Feed\Item;
14 13
 use FeedIo\Feed\Item\MediaInterface;
15 14
 use FeedIo\Feed\ItemInterface;
16 15
 use FeedIo\Feed\NodeInterface;
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
     /**
86 86
      * @param MediaInterface $media
87
-     * @param NodeInterface|null $node
87
+     * @param NodeInterface $node
88 88
      * @param string|null $url
89 89
      */
90 90
     protected function setUrl(MediaInterface $media, NodeInterface $node, string $url = null): void
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     }
113 113
 
114 114
     /**
115
-     * @param \MediaInterface $media
115
+     * @param MediaInterface $media
116 116
      * @param \DomElement $element
117 117
      */
118 118
     protected function initMedia(MediaInterface $media, \DOMElement $element): void
Please login to merge, or discard this patch.
src/FeedIo/Adapter/Guzzle/Response.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
 
74 74
     /**
75 75
      * @param  string       $name
76
-     * @return iterable
76
+     * @return string[]
77 77
      */
78 78
     public function getHeader(string $name) : iterable
79 79
     {
Please login to merge, or discard this patch.
src/FeedIo/Feed/Item.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     }
48 48
 
49 49
     /**
50
-     * @return iterable
50
+     * @return \ArrayIterator
51 51
      */
52 52
     public function getMedias() : iterable
53 53
     {
Please login to merge, or discard this patch.
src/FeedIo/Feed/Node.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
     /**
74 74
      * returns node's categories
75 75
      *
76
-     * @return iterable
76
+     * @return \ArrayIterator
77 77
      */
78 78
     public function getCategories() : iterable
79 79
     {
Please login to merge, or discard this patch.
src/FeedIo/Command/DiscoverCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Symfony\Component\Console\Command\Command;
15 15
 use Symfony\Component\Console\Input\InputArgument;
16 16
 use Symfony\Component\Console\Input\InputInterface;
17
-use Symfony\Component\Console\Input\InputOption;
18 17
 use Symfony\Component\Console\Output\OutputInterface;
19 18
 
20 19
 /**
Please login to merge, or discard this patch.