Passed
Push — master ( a25766...cb63fe )
by Tim
26:19 queued 01:50
created
src/CDNMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
  private function getIsAdmin(HTTPRequest $request)
181 181
  {
182 182
   $adminPaths = static::config()->get('admin_url_paths');
183
-  $adminPaths[] = AdminRootController::config()->get('url_base') . '/';
183
+  $adminPaths[ ] = AdminRootController::config()->get('url_base') . '/';
184 184
   $currentPath = rtrim($request->getURL(), '/') . '/';
185 185
   foreach ($adminPaths as $adminPath) {
186 186
    if (substr($currentPath, 0, strlen($adminPath)) === $adminPath) {
Please login to merge, or discard this patch.