Completed
Push — master ( 844c74...ddebdb )
by Morris
38:20 queued 18:21
created
apps/dav/lib/Connector/Sabre/Node.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
 		// verify path of the target
135 135
 		$this->verifyPath();
136 136
 
137
-		$newPath = $parentPath . '/' . $newName;
137
+		$newPath = $parentPath.'/'.$newName;
138 138
 
139 139
 		$this->fileView->rename($this->path, $newPath);
140 140
 
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
 	public function getLastModified() {
156 156
 		$timestamp = $this->info->getMtime();
157 157
 		if (!empty($timestamp)) {
158
-			return (int)$timestamp;
158
+			return (int) $timestamp;
159 159
 		}
160 160
 		return $timestamp;
161 161
 	}
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
 	 * @return string
184 184
 	 */
185 185
 	public function getETag() {
186
-		return '"' . $this->info->getEtag() . '"';
186
+		return '"'.$this->info->getEtag().'"';
187 187
 	}
188 188
 
189 189
 	/**
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
 		if ($this->info->getId()) {
223 223
 			$instanceId = \OC_Util::getInstanceId();
224 224
 			$id = sprintf('%08d', $this->info->getId());
225
-			return $id . $instanceId;
225
+			return $id.$instanceId;
226 226
 		}
227 227
 
228 228
 		return null;
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
 
260 260
 		if ($storage && $storage->instanceOfStorage('\OCA\Files_Sharing\SharedStorage')) {
261 261
 			/** @var \OCA\Files_Sharing\SharedStorage $storage */
262
-			$permissions = (int)$storage->getShare()->getPermissions();
262
+			$permissions = (int) $storage->getShare()->getPermissions();
263 263
 		} else {
264 264
 			$permissions = $this->info->getPermissions();
265 265
 		}
@@ -372,7 +372,7 @@  discard block
 block discarded – undo
372 372
 			throw new \InvalidArgumentException('X-OC-MTime header must be an integer (unix timestamp).');
373 373
 		}
374 374
 
375
-		return (int)$mtimeFromRequest;
375
+		return (int) $mtimeFromRequest;
376 376
 	}
377 377
 
378 378
 }
Please login to merge, or discard this patch.