Passed
Pull Request — master (#15)
by
unknown
13:29
created
src/Middleware/SecurityHeaderMiddleware.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
             'max_age' => 1800,
213 213
             'endpoints' => [[
214 214
                 'url' => $this->getReportURI(),
215
-            ],],
215
+            ], ],
216 216
             'include_subdomains' => $this->getIncludeSubdomains(),
217 217
         ];
218 218
         return json_encode($header);
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
     {
223 223
         if ($this->isReporting()) {
224 224
             // Add or update report-uri directive.
225
-            if($cspHeader) {
225
+            if ($cspHeader) {
226 226
                 if (strpos($cspHeader, 'report-uri')) {
227 227
                     $cspHeader = str_replace('report-uri', $this->getReportURIDirective(), $cspHeader);
228 228
                 } else {
Please login to merge, or discard this patch.