Passed
Push — master ( f567c3...4874f7 )
by Greg
06:24
created
app/Http/RequestHandlers/RedirectSourcePhp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public function handle(ServerRequestInterface $request): ResponseInterface
40 40
     {
41
-        $tree   = $request->getQueryParams()['ged'] ?? '';
41
+        $tree = $request->getQueryParams()['ged'] ?? '';
42 42
         $xref  = $request->getQueryParams()['sid'] ?? '';
43 43
         $route = route('source', ['tree' => $tree, 'xref' => $xref]);
44 44
 
Please login to merge, or discard this patch.
app/Http/Controllers/MediaFileController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@
 block discarded – undo
188 188
             $params['tree'] = $media_file->media()->tree()->name();
189 189
             $this->glideSignature()->validateRequest('', $params);
190 190
 
191
-            $path = $media_file->media()->tree()->getPreference('MEDIA_DIRECTORY', 'media/') .  $media_file->filename();
191
+            $path = $media_file->media()->tree()->getPreference('MEDIA_DIRECTORY', 'media/') . $media_file->filename();
192 192
             $folder = dirname($path);
193 193
 
194 194
             $cache_path           = 'thumbnail-cache/' . md5($folder);
Please login to merge, or discard this patch.
app/Http/Middleware/ClientIp.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
39 39
     {
40 40
         // The configuration comes from config.ini.php, via request attributes.
41
-        $trusted_headers = $this->getCommaSeparatedAttribute($request,'trusted_headers');
42
-        $trusted_proxies = $this->getCommaSeparatedAttribute($request,'trusted_proxies');
41
+        $trusted_headers = $this->getCommaSeparatedAttribute($request, 'trusted_headers');
42
+        $trusted_proxies = $this->getCommaSeparatedAttribute($request, 'trusted_proxies');
43 43
 
44 44
         $this->proxy($trusted_proxies, $trusted_headers);
45 45
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      *
53 53
      * @return string[]
54 54
      */
55
-    private function getCommaSeparatedAttribute(ServerRequestInterface $request,  string $attribute): array
55
+    private function getCommaSeparatedAttribute(ServerRequestInterface $request, string $attribute): array
56 56
     {
57 57
         $value = $request->getAttribute($attribute);
58 58
 
Please login to merge, or discard this patch.