Completed
Push — stable13 ( 56812b...c3919b )
by Morris
12:51
created
apps/dav/lib/Upload/AssemblyStream.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,11 +69,11 @@  discard block
 block discarded – undo
69 69
 
70 70
 		$nodes = $this->nodes;
71 71
 		// http://stackoverflow.com/a/10985500
72
-		@usort($nodes, function (IFile $a, IFile $b) {
72
+		@usort($nodes, function(IFile $a, IFile $b) {
73 73
 			return strnatcmp($a->getName(), $b->getName());
74 74
 		});
75 75
 		$this->nodes = array_values($nodes);
76
-		$this->size = array_reduce($this->nodes, function ($size, IFile $file) {
76
+		$this->size = array_reduce($this->nodes, function($size, IFile $file) {
77 77
 			return $size + $file->getSize();
78 78
 		}, 0);
79 79
 		return true;
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
 		if (isset($context[$name])) {
207 207
 			$context = $context[$name];
208 208
 		} else {
209
-			throw new \BadMethodCallException('Invalid context, "' . $name . '" options not set');
209
+			throw new \BadMethodCallException('Invalid context, "'.$name.'" options not set');
210 210
 		}
211 211
 		if (isset($context['nodes']) and is_array($context['nodes'])) {
212 212
 			$this->nodes = $context['nodes'];
Please login to merge, or discard this patch.