mirror of
https://github.com/Karaka-Management/oms-Exchange.git
synced 2026-02-01 18:58:41 +00:00
fix tests and replace file_exists
This commit is contained in:
parent
338ecc48f9
commit
9ff392e85a
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user