mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Fixed PSR issues in the Extend(src\Appwrite) library
This commit is contained in:
parent
026efb8c25
commit
c1235bfb7c
2 changed files with 5 additions and 5 deletions
|
|
@ -49,7 +49,7 @@ class PDO extends PDONative
|
|||
return $this->pdo->setAttribute($attribute, $value);
|
||||
}
|
||||
|
||||
public function prepare($statement, $driver_options = NULL)
|
||||
public function prepare($statement, $driver_options = null)
|
||||
{
|
||||
return new PDOStatement($this, $this->pdo->prepare($statement, []));
|
||||
}
|
||||
|
|
@ -71,4 +71,4 @@ class PDO extends PDONative
|
|||
|
||||
return $this->pdo;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -100,10 +100,10 @@ class PDOStatement extends PDOStatementNative
|
|||
|
||||
/**
|
||||
* Fetch All
|
||||
*
|
||||
*
|
||||
* @param int $fetch_style
|
||||
* @param mixed $fetch_args
|
||||
*
|
||||
*
|
||||
* @return array|false
|
||||
*/
|
||||
public function fetchAll(int $fetch_style = PDO::FETCH_BOTH, mixed ...$fetch_args)
|
||||
|
|
@ -112,4 +112,4 @@ class PDOStatement extends PDOStatementNative
|
|||
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue