Skip to content

Commit

Permalink
Fix phpcs.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 14, 2016
1 parent a11ab39 commit a8b7be2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Routing/Filter/AssetFilter.php
Expand Up @@ -87,6 +87,7 @@ public function beforeDispatch(Event $event)

$pathSegments = explode('.', $url);
$ext = array_pop($pathSegments);

return $this->_deliverAsset($request, $response, $assetFile, $ext);
}

Expand Down Expand Up @@ -141,6 +142,7 @@ protected function _deliverAsset(Request $request, Response $response, $assetFil
}
$response->cache(filemtime($assetFile), $this->_cacheTime);
$response->file($assetFile);

return $response;
}
}

0 comments on commit a8b7be2

Please sign in to comment.