mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-12 16:34:25 +02:00
Library: Add missing shut-up operator to file_get_contents
call
This commit is contained in:
parent
7c4488ddc7
commit
81c0613e68
@ -189,7 +189,7 @@ class Library
|
||||
protected function metaData()
|
||||
{
|
||||
if ($this->metaData === null) {
|
||||
$metaData = file_get_contents($this->path . DIRECTORY_SEPARATOR . 'composer.json');
|
||||
$metaData = @file_get_contents($this->path . DIRECTORY_SEPARATOR . 'composer.json');
|
||||
if ($metaData === false) {
|
||||
throw new ConfigurationError('Library at "%s" is not a composerized project', $this->path);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user