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 ( d0a685...85b07f )
by halfpastfour
02:09
created
src/Delegate/ArraySerializable.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -19,17 +19,17 @@  discard block
 block discarded – undo
19 19
      */
20 20
     public function getArrayCopy()
21 21
     {
22
-        $data            = [];
22
+        $data            = [ ];
23 23
         $properties      = get_object_vars($this);
24 24
         $reflectionClass = new \Zend_Reflection_Class($this);
25 25
         foreach ($properties as $property => $value) {
26 26
             // Skip property if it is not accessible
27
-            if (! $reflectionClass->hasProperty($property)) {
27
+            if (!$reflectionClass->hasProperty($property)) {
28 28
                 continue;
29 29
             }
30 30
 
31 31
             // Only process properties that aren't null
32
-            if (! is_null($value)) {
32
+            if (!is_null($value)) {
33 33
                 // Gather phpdoc from property
34 34
                 $phpDoc = $reflectionClass->getProperty($property)->getDocComment();
35 35
                 $type   = $phpDoc->getTag('var')->getDescription();
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
                 // Prepend 'get' to the getter method.
39 39
                 $getter = 'get' . ucfirst($property);
40
-                if (is_object($value) && ! $this->$property instanceof Expr) {
40
+                if (is_object($value) && !$this->$property instanceof Expr) {
41 41
                     $object = true;
42 42
                 }
43 43
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
                 }
53 53
 
54 54
                 // Abort if the method does not exist
55
-                if (! method_exists($this, $getter)) {
55
+                if (!method_exists($this, $getter)) {
56 56
                     continue;
57 57
                 }
58 58
 
Please login to merge, or discard this patch.