Completed
Push — master ( 537dfc...d1fe82 )
by Amine
02:05
created
src/Internal/_stream.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
     if (length($parts) < 2)
168 168
         _stream_throw_error('invalid-signature', $text);
169 169
 
170
-    return reduce(function($result, $part){
170
+    return reduce(function($result, $part) {
171 171
         return chain(function($item) use($result){
172 172
             return map(append($item), $result);
173 173
         }, $part);
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
  */
198 198
 function _stream_ensure_type() {
199 199
     $ensureType = function($signature, $type) {
200
-        if (! contains($type, _stream_types()))
200
+        if (!contains($type, _stream_types()))
201 201
             _stream_throw_error('invalid-signature', $signature);
202 202
         return $type;
203 203
     };
Please login to merge, or discard this patch.