Completed
Push — master ( ab6f8a...1f752e )
by Ryan
11:29
created
src/HandlerStackInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -118,6 +118,7 @@
 block discarded – undo
118 118
      * @param string   $namespaceAlias The preferred namespace alias for a given XML namespace URI. Should be the result
119 119
      *                                 of a call to `SimplePie\Util\Ns`.
120 120
      * @param DOMXPath $xpath          The `DOMXPath` object with this middleware's namespace alias applied.
121
+     * @return void
121 122
      */
122 123
     public function invoke(
123 124
         string $feedType,
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use DOMXPath;
14 14
 use SimplePie\Enum\FeedType;
15 15
 use SimplePie\Exception\MiddlewareException;
16
-use Skyzyx\UtilityPack\Types;
17 16
 use stdClass;
18 17
 
19 18
 /**
Please login to merge, or discard this patch.
src/Middleware/Xml/AbstractXmlMiddleware.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,6 +38,7 @@  discard block
 block discarded – undo
38 38
      *                                 mixed-case/case-insensitive XML element names.
39 39
      * @param string ...$path          A variadic parameter which accepts the names of the XML
40 40
      *                                 tree nodes in sequence.
41
+     * @param string[] $path
41 42
      *
42 43
      * @return string An XPath 1.0 expression.
43 44
      *
@@ -74,7 +75,7 @@  discard block
 block discarded – undo
74 75
      *
75 76
      * @param callable $fn A callable which returns a `DOMElementList`.
76 77
      *
77
-     * @return array Returns an array with keys of `text` and `html`.
78
+     * @return Node Returns an array with keys of `text` and `html`.
78 79
      */
79 80
     public function handleSingleNode(callable $fn): Node
80 81
     {
Please login to merge, or discard this patch.
src/Middleware/Xml/XmlInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -26,6 +26,7 @@
 block discarded – undo
26 26
      * @param string   $namespaceAlias The preferred namespace alias for a given XML namespace URI. Should be the result
27 27
      *                                 of a call to `SimplePie\Util\Ns`.
28 28
      * @param DOMXPath $xpath          The `DOMXPath` object with this middleware's namespace alias applied.
29
+     * @return void
29 30
      */
30 31
     public function __invoke(stdClass $feedRoot, string $namespaceAlias, DOMXPath $xpath): void;
31 32
 }
Please login to merge, or discard this patch.
src/Configuration/SetLoggerInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,5 +14,8 @@
 block discarded – undo
14 14
 
15 15
 interface SetLoggerInterface
16 16
 {
17
+    /**
18
+     * @return \SimplePie\Mixin\LoggerTrait
19
+     */
17 20
     public function setLogger(LoggerInterface $logger);
18 21
 }
Please login to merge, or discard this patch.
src/SimplePie.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      *
73 73
      * @param int $libxml
74 74
      *
75
-     * @return int
75
+     * @return SimplePie
76 76
      */
77 77
     public function setLibxml(int $libxml)
78 78
     {
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
      * @param StreamInterface $stream A PSR-7 `StreamInterface` which is typically returned by the
160 160
      *                                `getBody()` method of a `ResponseInterface` class.
161 161
      *
162
-     * @return JsonParser
162
+     * @return string
163 163
      */
164 164
     public function parseJson(StreamInterface $stream)
165 165
     {
Please login to merge, or discard this patch.