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 (#3)
by Ryan
07:32
created
src/eBayEnterprise/RetailOrderManagement/Payload/Order/Discount.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
     protected function getRootAttributes()
163 163
     {
164 164
         $appliedCount = $this->sanitizeAmount($this->getAppliedCount());
165
-        return !is_null($appliedCount) ? ['appliedCount' => (int) $appliedCount] : [];
165
+        return !is_null($appliedCount) ? [ 'appliedCount' => (int) $appliedCount ] : [ ];
166 166
     }
167 167
 
168 168
     protected function getRootNodeName()
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Order/EmailAddressDestination.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
 
86 86
     protected function getRootAttributes()
87 87
     {
88
-        return ['id' => $this->getId()];
88
+        return [ 'id' => $this->getId() ];
89 89
     }
90 90
 
91 91
     protected function getPersonNameRootNodeName()
Please login to merge, or discard this patch.
src/eBayEnterprise/RetailOrderManagement/Payload/Order/ItemRelationship.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@
 block discarded – undo
160 160
 
161 161
     protected function getRootAttributes()
162 162
     {
163
-        return ['parent' => $this->getParentItemId()];
163
+        return [ 'parent' => $this->getParentItemId() ];
164 164
     }
165 165
 
166 166
     protected function getRootNodeName()
Please login to merge, or discard this patch.
src/eBayEnterprise/RetailOrderManagement/Payload/Order/MailingAddress.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,11 +53,11 @@
 block discarded – undo
53 53
         $this->logger = $logger;
54 54
         $this->extractionPaths = array_merge(
55 55
             $this->extractionPaths,
56
-            ['id' => 'string(@id)']
56
+            [ 'id' => 'string(@id)' ]
57 57
         );
58 58
         $this->optionalExtractionPaths = array_merge(
59 59
             $this->optionalExtractionPaths,
60
-            ['phone' => 'x:Phone']
60
+            [ 'phone' => 'x:Phone' ]
61 61
         );
62 62
     }
63 63
 
Please login to merge, or discard this patch.
eBayEnterprise/RetailOrderManagement/Payload/Order/OrderCancelRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -182,9 +182,9 @@
 block discarded – undo
182 182
     protected function getRootAttributes()
183 183
     {
184 184
         $orderType = $this->getOrderType();
185
-        $attributes = ['xmlns' => $this->getXmlNamespace()];
185
+        $attributes = [ 'xmlns' => $this->getXmlNamespace() ];
186 186
         return $orderType
187
-            ? array_merge($attributes, ['orderType' => $this->getOrderType()])
187
+            ? array_merge($attributes, [ 'orderType' => $this->getOrderType() ])
188 188
             : $attributes;
189 189
     }
190 190
 }
Please login to merge, or discard this patch.
eBayEnterprise/RetailOrderManagement/Payload/Order/OrderCancelResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,6 +117,6 @@
 block discarded – undo
117 117
      */
118 118
     protected function getRootAttributes()
119 119
     {
120
-        return ['xmlns' => $this->getXmlNamespace()];
120
+        return [ 'xmlns' => $this->getXmlNamespace() ];
121 121
     }
122 122
 }
Please login to merge, or discard this patch.
src/eBayEnterprise/RetailOrderManagement/Payload/Order/PaymentIterable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,8 +72,8 @@
 block discarded – undo
72 72
     {
73 73
         $xpath = $this->getPayloadAsXPath($serializedData);
74 74
         foreach ($xpath->query($this->getSubpayloadXPath()) as $subpayloadNode) {
75
-            if (isset($this->subpayloadNodeMap[$subpayloadNode->nodeName])) {
76
-                $plFactoryMethod = $this->subpayloadNodeMap[$subpayloadNode->nodeName];
75
+            if (isset($this->subpayloadNodeMap[ $subpayloadNode->nodeName ])) {
76
+                $plFactoryMethod = $this->subpayloadNodeMap[ $subpayloadNode->nodeName ];
77 77
                 $pl = $this->$plFactoryMethod();
78 78
             }
79 79
             if (isset($pl)) {
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Order/PrepaidCreditCardPayment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         $this->logger = $logger;
50 50
         $this->optionalExtractionPaths = array_merge(
51 51
             $this->optionalExtractionPaths,
52
-            ['brand' => 'x:Brand']
52
+            [ 'brand' => 'x:Brand' ]
53 53
         );
54 54
     }
55 55
 
Please login to merge, or discard this patch.
src/eBayEnterprise/RetailOrderManagement/Payload/Order/StoreLocation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
 
136 136
     protected function getRootAttributes()
137 137
     {
138
-        return ['id' => $this->getId()];
138
+        return [ 'id' => $this->getId() ];
139 139
     }
140 140
 
141 141
     protected function getPhysicalAddressRootNodeName()
Please login to merge, or discard this patch.