mirror of
https://github.com/friendica/friendica
synced 2025-04-30 09:44:22 +02:00
Some fixes:
- $gsid's default value cannot sadly be 0, it now must be null to allow some code work - added some more type-hints - documented a bit more
This commit is contained in:
parent
4e53666c70
commit
33768ea1c6
8 changed files with 21 additions and 15 deletions
|
@ -427,7 +427,7 @@ class DBA
|
|||
* @return boolean was the update successfull?
|
||||
* @throws \Exception
|
||||
*/
|
||||
public static function update($table, $fields, $condition, $old_fields = [], $params = [])
|
||||
public static function update($table, array $fields, array $condition, $old_fields = [], array $params = [])
|
||||
{
|
||||
return DI::dba()->update($table, $fields, $condition, $old_fields, $params);
|
||||
}
|
||||
|
@ -443,7 +443,7 @@ class DBA
|
|||
* @throws \Exception
|
||||
* @see self::select
|
||||
*/
|
||||
public static function selectFirst($table, array $fields = [], array $condition = [], $params = [])
|
||||
public static function selectFirst($table, array $fields = [], array $condition = [], array $params = [])
|
||||
{
|
||||
return DI::dba()->selectFirst($table, $fields, $condition, $params);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue