Remove usage of @ operator
[MAILPOET-2357]
This commit is contained in:
committed by
Jack Kitterhing
parent
c5dbeff04f
commit
d43ae6d350
@@ -22,7 +22,9 @@ class MetadataCache extends CacheProvider {
|
|||||||
function __construct($dir) {
|
function __construct($dir) {
|
||||||
$this->is_dev_mode = defined('WP_DEBUG') && WP_DEBUG && class_exists(SimpleAnnotationReader::class);
|
$this->is_dev_mode = defined('WP_DEBUG') && WP_DEBUG && class_exists(SimpleAnnotationReader::class);
|
||||||
$this->directory = rtrim($dir, '/\\');
|
$this->directory = rtrim($dir, '/\\');
|
||||||
@mkdir($this->directory);
|
if (!file_exists($this->directory)) {
|
||||||
|
mkdir($this->directory);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function doFetch($id) {
|
protected function doFetch($id) {
|
||||||
|
Reference in New Issue
Block a user