Fixed PSR issues in the Extend(src\Appwrite) library

This commit is contained in:
Mukul Kolpe 2021-10-07 02:53:58 +05:30
parent 026efb8c25
commit c1235bfb7c
2 changed files with 5 additions and 5 deletions

View file

@ -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;
}
}
}

View file

@ -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;
}
}
}