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:
Christy Jacob
2021-11-17 12:42:12 +04:00
committed by GitHub
2 changed files with 5 additions and 5 deletions
+2 -2
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;
}
}
}
+3 -3
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;
}
}
}