Completed
Push — master ( 1857e6...d96bec )
by Joao
03:02
created
src/Repository/XmlIterator.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -32,6 +32,11 @@
 block discarded – undo
32 32
     private $_current = 0;
33 33
     protected $_registerNS;
34 34
 
35
+    /**
36
+     * @param DOMNodeList $nodeList
37
+     * @param string[] $colNodes
38
+     * @param string $registerNS
39
+     */
35 40
     public function __construct($nodeList, $colNodes, $registerNS)
36 41
     {
37 42
         if (!($nodeList instanceof DOMNodeList)) {
Please login to merge, or discard this patch.
src/Model/SerializerObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
171 171
                 $keyName = substr($key, strrpos($key, "\0"));
172 172
                 $propertyName = preg_replace($this->getMethodPattern(0), $this->getMethodPattern(1), $keyName);
173 173
 
174
-                if (method_exists($object, $this->getMethodGetPrefix() . $propertyName)) {
174
+                if (method_exists($object, $this->getMethodGetPrefix().$propertyName)) {
175 175
                     $result[$propertyName] = $this->buildProperty($value);
176 176
                 }
177 177
             } else {
Please login to merge, or discard this patch.
src/Model/BinderObject.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,8 +80,8 @@
 block discarded – undo
80 80
     {
81 81
         if ($obj instanceof SingleRow) {
82 82
             $obj->setField($propName, $value);
83
-        } else if (method_exists($obj, 'set' . $propName)) {
84
-            $obj->{'set' . $propName}($value);
83
+        } else if (method_exists($obj, 'set'.$propName)) {
84
+            $obj->{'set'.$propName}($value);
85 85
         } elseif (isset($obj->{$propName}) || $obj instanceof stdClass) {
86 86
             $obj->{$propName} = $value;
87 87
         } else {
Please login to merge, or discard this patch.
src/Model/ClassAnnotations.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
             } else {
67 67
                 $this->propertyList = $this->getClassRefl()->getProperties(
68 68
                     ReflectionProperty::IS_PROTECTED |
69
-                    ReflectionProperty::IS_PRIVATE   |
69
+                    ReflectionProperty::IS_PRIVATE |
70 70
                     ReflectionProperty::IS_PUBLIC
71 71
                 );
72 72
             }
@@ -196,12 +196,12 @@  discard block
 block discarded – undo
196 196
         if (!$this->classNamespace) {
197 197
             $this->classNamespace = $this->getAnnotations("namespace", []);
198 198
             if (!is_array($this->classNamespace) && !empty($this->classNamespace)) {
199
-                $this->classNamespace = [ $this->classNamespace];
199
+                $this->classNamespace = [$this->classNamespace];
200 200
             }
201 201
 
202 202
             foreach ($this->classNamespace as $key => $value) {
203 203
                 $prefix = strtok($value, "!");
204
-                $uri = str_replace($prefix . "!", "", $value);
204
+                $uri = str_replace($prefix."!", "", $value);
205 205
 
206 206
                 $this->classNamespace[$key] = [
207 207
                     $this->classNamespace[$key],
Please login to merge, or discard this patch.