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
Branch master (d97360)
by Constantin
04:19
created
src/Gica/Serialize/ObjectHydrator/ObjectHydrator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         return 'O:' . strlen($className) . ':"' . $className . '":0:{}';
68 68
     }
69 69
 
70
-    private function getClassProperty(\ReflectionClass $reflectionClass, string $propertyName):?\ReflectionProperty
70
+    private function getClassProperty(\ReflectionClass $reflectionClass, string $propertyName): ? \ReflectionProperty
71 71
     {
72 72
         if (!$reflectionClass->hasProperty($propertyName)) {
73 73
 
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
         return $this->hydrateProperty($reflectionClass, $propertyName, $document);
171 171
     }
172 172
 
173
-    private function hydrateProperty(\ReflectionClass $reflectionClass, string $propertyName, $document, ?string $actualClassName = null)
173
+    private function hydrateProperty(\ReflectionClass $reflectionClass, string $propertyName, $document, ? string $actualClassName = null)
174 174
     {
175 175
         if (null === $document) {
176 176
             return null;
Please login to merge, or discard this patch.
src/Gica/Serialize/ObjectHydrator/AdapterLocator/LocalAdapterLocator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
 abstract class LocalAdapterLocator implements ObjectUnserializer
13 13
 {
14
-    protected function locateUnserializerForClass(string $className, $serializedValue):?ObjectUnserializer
14
+    protected function locateUnserializerForClass(string $className, $serializedValue): ? ObjectUnserializer
15 15
     {
16 16
         $hydratorName = $this->getNamespace() . '\\' . $className . '\\From' . ucfirst($this->getNameFromSerializedValue($serializedValue));
17 17
 
Please login to merge, or discard this patch.
src/Gica/Serialize/ObjectHydrator/ObjectUnserializer.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,5 +16,5 @@
 block discarded – undo
16 16
      * @return mixed
17 17
      * @throws ValueNotUnserializable
18 18
      */
19
-     public function tryToUnserializeValue(string $objectClassName, $serializedValue);
19
+        public function tryToUnserializeValue(string $objectClassName, $serializedValue);
20 20
 }
21 21
\ No newline at end of file
Please login to merge, or discard this patch.
src/Gica/Serialize/ObjectSerializer/ObjectSerializer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     public function convert($anything)
26 26
     {
27 27
         if (is_array($anything)) {
28
-            return array_map(function ($item) {
28
+            return array_map(function($item) {
29 29
                 return $this->convert($item);
30 30
             }, $anything);
31 31
         }
Please login to merge, or discard this patch.