fix tests and replace file_exists

This commit is contained in:
Dennis Eichhorn 2020-10-08 15:12:24 +02:00
parent 338ecc48f9
commit 9ff392e85a

View File

@ -148,7 +148,7 @@ class InterfaceManager
*/
public function load() : void
{
if (!\file_exists($this->path)) {
if (!\is_file($this->path)) {
throw new PathException($this->path);
}
@ -167,7 +167,7 @@ class InterfaceManager
*/
public function update() : void
{
if (!\file_exists($this->path)) {
if (!\is_file($this->path)) {
throw new PathException($this->path);
}