Completed
Push — master ( f665df...a43901 )
by KwangSeob
02:15
created
src/Issue/IssueField.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -140,16 +140,16 @@
 block discarded – undo
140 140
 
141 141
     public function jsonSerialize()
142 142
     {
143
-        $vars = array_filter(get_object_vars($this), function ($var) {
143
+        $vars = array_filter(get_object_vars($this), function($var) {
144 144
             return !is_null($var);
145 145
         });
146 146
 
147 147
         // if assignee property has empty value then remove it.
148 148
         // @see https://github.com/lesstif/php-jira-rest-client/issues/126
149 149
         // @see https://github.com/lesstif/php-jira-rest-client/issues/177
150
-        if (! empty($this->assignee)) {
150
+        if (!empty($this->assignee)) {
151 151
             // do nothing
152
-            if ($this->assignee->isWantUnassigned() === true ) {
152
+            if ($this->assignee->isWantUnassigned() === true) {
153 153
 
154 154
             } elseif ($this->assignee->isEmpty()) {
155 155
                 unset($vars['assignee']);
Please login to merge, or discard this patch.
src/Issue/Reporter.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,8 +71,9 @@
 block discarded – undo
71 71
      */
72 72
     public function isWantUnassigned()
73 73
     {
74
-        if ($this->wantUnassigned)
75
-            return true;
74
+        if ($this->wantUnassigned) {
75
+                    return true;
76
+        }
76 77
 
77 78
         return false;
78 79
     }
Please login to merge, or discard this patch.