Passed
Push — master ( 2b192e...6bda2c )
by Roeland
10:49 queued 10s
created
apps/files/lib/Controller/DirectEditingController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 			]);
89 89
 		} catch (Exception $e) {
90 90
 			$this->logger->logException($e, ['message' => 'Exception when creating a new file through direct editing']);
91
-			return new DataResponse(['message' => 'Failed to create file: ' . $e->getMessage()], Http::STATUS_FORBIDDEN);
91
+			return new DataResponse(['message' => 'Failed to create file: '.$e->getMessage()], Http::STATUS_FORBIDDEN);
92 92
 		}
93 93
 	}
94 94
 
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 			]);
109 109
 		} catch (Exception $e) {
110 110
 			$this->logger->logException($e, ['message' => 'Exception when opening a file through direct editing']);
111
-			return new DataResponse(['message' => 'Failed to open file: ' . $e->getMessage()], Http::STATUS_FORBIDDEN);
111
+			return new DataResponse(['message' => 'Failed to open file: '.$e->getMessage()], Http::STATUS_FORBIDDEN);
112 112
 		}
113 113
 	}
114 114
 
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 			return new DataResponse($this->directEditingManager->getTemplates($editorId, $creatorId));
128 128
 		} catch (Exception $e) {
129 129
 			$this->logger->logException($e);
130
-			return new DataResponse(['message' => 'Failed to obtain template list: ' . $e->getMessage()], Http::STATUS_INTERNAL_SERVER_ERROR);
130
+			return new DataResponse(['message' => 'Failed to obtain template list: '.$e->getMessage()], Http::STATUS_INTERNAL_SERVER_ERROR);
131 131
 		}
132 132
 	}
133 133
 }
Please login to merge, or discard this patch.