GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#20)
by
unknown
04:02
created
src/Fractal.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
     /**
207 207
      * Specify the includes.
208 208
      *
209
-     * @param array|string $includes Array or string of resources to include.
209
+     * @param string $includes Array or string of resources to include.
210 210
      *
211 211
      * @return $this
212 212
      */
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
     /**
223 223
      * Specify the excludes.
224 224
      *
225
-     * @param array|string $excludes Array or string of resources to exclude.
225
+     * @param string $excludes Array or string of resources to exclude.
226 226
      * @return $this
227 227
      */
228 228
     public function parseExcludes($excludes)
@@ -400,7 +400,7 @@  discard block
 block discarded – undo
400 400
      * Determine if a given string starts with a given substring.
401 401
      *
402 402
      * @param  string  $haystack
403
-     * @param  string|array  $needles
403
+     * @param  string[]  $needles
404 404
      * @return bool
405 405
      */
406 406
     protected function startsWith($haystack, $needles)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace Spatie\Fractalistic;
4 4
 
5
-use Traversable;
6 5
 use JsonSerializable;
7 6
 use League\Fractal\Manager;
8 7
 use League\Fractal\Pagination\CursorInterface;
@@ -10,6 +9,7 @@  discard block
 block discarded – undo
10 9
 use League\Fractal\Serializer\SerializerAbstract;
11 10
 use Spatie\Fractalistic\Exceptions\InvalidTransformation;
12 11
 use Spatie\Fractalistic\Exceptions\NoTransformerSpecified;
12
+use Traversable;
13 13
 
14 14
 class Fractal implements JsonSerializable
15 15
 {
Please login to merge, or discard this patch.