mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge pull request #2021 from MukulKolpe/refractor-1944-PSR_Isssue_In_ExtendLibrary
Fixed PSR issues in the Extend(src\Appwrite) library
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user