mirror of
https://github.com/friendica/friendica
synced 2025-04-25 19:10:11 +00: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
|
@ -102,7 +102,7 @@ class Attach
|
|||
* @return boolean
|
||||
* @throws \Exception
|
||||
*/
|
||||
public static function exists(array $conditions)
|
||||
public static function exists(array $conditions): bool
|
||||
{
|
||||
return DBA::exists('attach', $conditions);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue