Completed
Pull Request — master (#95)
by
unknown
04:48
created
src/InternalFunctionality/PostOptionsConstructor.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -93,13 +93,13 @@  discard block
 block discarded – undo
93 93
                       'filename' => $value->path,
94 94
                       'stream' => $value->getStream()
95 95
                   ];
96
-                }elseif($value instanceof Photo){
96
+                } elseif($value instanceof Photo){
97 97
                    $return[$key] = [
98 98
                       'id' => $key,
99 99
                       'filename' => $value->media->path,
100 100
                       'stream' => $value->media->getStream()
101 101
                   ];
102
-                }elseif((is_array($value) || $value instanceof Countable)){
102
+                } elseif((is_array($value) || $value instanceof Countable)){
103 103
                   foreach ($value as $kk => $vv){
104 104
                   if($vv instanceof InputFile){
105 105
                    $return[$kk] = [
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
                       'filename' => $vv->path,
108 108
                       'stream' => $vv->getStream()
109 109
                   ];
110
-                }elseif($vv instanceof Photo){
110
+                } elseif($vv instanceof Photo){
111 111
                     $return[$kk] = [
112 112
                       'id' => $kk,
113 113
                       'filename' => $vv->media->path,
Please login to merge, or discard this patch.