Skip to content

Commit

Permalink
Removed error supressions
Browse files Browse the repository at this point in the history
  • Loading branch information
makallio85 committed Oct 9, 2017
1 parent eeafb63 commit 388a4b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/View/Helper/UrlHelper.php
Expand Up @@ -210,7 +210,7 @@ public function assetTimestamp($path)
$webrootPath = WWW_ROOT . str_replace('/', DIRECTORY_SEPARATOR, $filepath);
if (file_exists($webrootPath)) {
//@codingStandardsIgnoreStart
return $path . '?' . @filemtime($webrootPath);
return $path . '?' . filemtime($webrootPath);
//@codingStandardsIgnoreEnd
}
$segments = explode('/', ltrim($filepath, '/'));
Expand All @@ -220,7 +220,7 @@ public function assetTimestamp($path)
$pluginPath = Plugin::path($plugin) . 'webroot' . DIRECTORY_SEPARATOR . implode(DIRECTORY_SEPARATOR, $segments);
if (file_exists($pluginPath)) {
//@codingStandardsIgnoreStart
return $path . '?' . @filemtime($pluginPath);
return $path . '?' . filemtime($pluginPath);
//@codingStandardsIgnoreEnd4
}
}
Expand Down

0 comments on commit 388a4b9

Please sign in to comment.