mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 01:18:37 +00:00
Fix null deprecation warning
This commit is contained in:
parent
5123cf5f8e
commit
df491f6f46
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ class Method
|
|||
|
||||
$descPath = $this->getDescriptionFilePath();
|
||||
|
||||
if (!\file_exists($descPath)) {
|
||||
if (empty($descPath)) {
|
||||
self::$errors[] = "Error with {$this->getRouteName()} method: Description file not found at {$desc}";
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue