Commit graph

13 commits

Author SHA1 Message Date
da66730e4f
Rewrite:
- moved constants GRAVITY_* from boot.php to Friendica\Model\Item
- also rewrote some array initialization:

From:
````
<?php
$arr = [];
$arr['foo'] = "FOO";
````

To:
````
<?php
$arr['foo'] = "FOO";
````
- added a few type-hints
2022-10-15 00:44:06 +02:00
bf5c8a2c43 API: several fixes to the Twitter/Statusnet API 2022-02-25 19:16:40 +00:00
720a43461d Fixed max value check, improved request value fetching 2022-01-16 15:22:35 +00:00
a3173ccb50 Define reasonable min and max values 2022-01-16 15:03:01 +00:00
4724000d06 Unify request value handling 2022-01-16 14:04:20 +00:00
7b68a5956e Improved handling of boolean input values 2022-01-16 09:24:35 +00:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
a88cc8d5c8 Replace DI::apiResponse()->exit() with $this->response->exit() 2021-11-30 01:08:00 -05:00
056702c1e0
Fixing wrong inherited methodsyntax 2021-11-27 19:58:24 +01:00
299d70ca1d Standards 2021-11-24 23:31:10 +00:00
260ee13d07 Standards 2021-11-24 23:24:35 +00:00
bd1306d020 Removed whitespace 2021-11-24 23:20:42 +00:00
c4d52feea5 Many API calls moved 2021-11-24 23:03:34 +00:00