Passed
Push — v3.x ( 9a4b82...1fcae7 )
by Chad
02:14
created
src/Client.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      * @param string $resource The API resource to search for.
84 84
      * @param array  $filters  Array of search criteria to use in request.
85 85
      *
86
-     * @return DataWrapperInterface|null
86
+     * @return null|DataWrapper
87 87
      *
88 88
      * @throws \InvalidArgumentException Thrown if $resource is empty or not a string.
89 89
      */
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      * @param string  $resource The API resource to search for.
110 110
      * @param integer $id       The id of the API resource.
111 111
      *
112
-     * @return DataWrapperInterface|null
112
+     * @return null|DataWrapper
113 113
      */
114 114
     final public function get(string $resource, int $id)
115 115
     {
Please login to merge, or discard this patch.
src/Cache/ArrayCache.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@
 block discarded – undo
182 182
      *
183 183
      * @param mixed $ttl The time-to-live value to validate.
184 184
      *
185
-     * @return void
185
+     * @return integer
186 186
      *
187 187
      * @throws InvalidArgumentException Thrown if the $ttl is not null, an integer or \DateInterval.
188 188
      */
Please login to merge, or discard this patch.
src/Cache/MongoCache.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Chadicus\Marvel\Api\Cache;
4 4
 
5
-use DominionEnterprises\Util\Arrays;
6 5
 use GuzzleHttp\Psr7\Response;
7 6
 use MongoDB\BSON\UTCDateTime;
8 7
 use MongoDB\Collection;
Please login to merge, or discard this patch.