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
Push — master ( 298909...4163c2 )
by Samuel
02:35
created
src/Acl.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
 	/**
193 193
 	 * Add a new role object to the registry
194 194
 	 *
195
-	 * @param string[] $role
195
+	 * @param string $role
196 196
 	 * @return void
197 197
 	 */
198 198
 	public function addRole(string ...$role)
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
 	/**
207 207
 	 * Add a new resource object to the registry
208 208
 	 *
209
-	 * @param string[] $resource
209
+	 * @param string $resource
210 210
 	 * @return void
211 211
 	 */
212 212
 	public function addResource(string ...$resource)
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
 	/**
221 221
 	 * Add a new permission object to the registry
222 222
 	 *
223
-	 * @param string[] $permission
223
+	 * @param string $permission
224 224
 	 * @return void
225 225
 	 */
226 226
 	public function addPermission(string ...$permission)
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Samshal\Acl library
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
 	 * @throws \Exception
280 280
 	 * @return void
281 281
 	 */
282
-	public function allow(string $role, string $permission, string $resource, bool $status=null)
282
+	public function allow(string $role, string $permission, string $resource, bool $status = null)
283 283
 	{
284 284
         $status = $status ?? true;
285 285
 		if (!$this->roleRegistry->exists($role)) {
Please login to merge, or discard this patch.
src/AclInterface.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     /**
23 23
      * Adds a new role object to the registry
24 24
      *
25
-     * @param string $role
25
+     * @param string[] $role
26 26
      * @return void
27 27
      */
28 28
     public function addRole(string ...$role);
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * Adds a new resource object to the registry
32 32
      *
33
-     * @param string $resource
33
+     * @param string[] $resource
34 34
      * @return void
35 35
      */
36 36
     public function addResource(string ...$resource);
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * Adds a new permission object to the registry
40 40
      *
41
-     * @param string $permission
41
+     * @param string[] $permission
42 42
      * @return void
43 43
      */
44 44
     public function addPermission(string ...$permission);
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      * Automatically determine the type of an object and call the appropriate
50 50
      * add method on it.
51 51
      *
52
-     * @param ObjectInterface $object
52
+     * @param ObjectInterface[] $object
53 53
      * @throws \Exception
54 54
      * @return void
55 55
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare (strict_types=1);
1
+<?php declare (strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Samshal\Acl library
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      * @throws \Exception
66 66
      * @return void
67 67
      */
68
-    public function allow(string $role, string $permission, string $resource, bool $status=null);
68
+    public function allow(string $role, string $permission, string $resource, bool $status = null);
69 69
 
70 70
     /**
71 71
      * Change the status option of an assigned permission to false
Please login to merge, or discard this patch.