Browse Source

Removed error supressions

makallio85 8 years ago
parent
commit
388a4b910a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/View/Helper/UrlHelper.php

+ 2 - 2
src/View/Helper/UrlHelper.php

@@ -210,7 +210,7 @@ class UrlHelper extends Helper
             $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, '/'));
@@ -220,7 +220,7 @@ class UrlHelper extends Helper
                 $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
                 }
             }