mirror of
https://github.com/friendica/friendica
synced 2025-04-21 23:10:11 +00:00
Use short form array syntax everywhere
- Add short form array syntax to po2php.php generation
This commit is contained in:
parent
77dfbaa0bf
commit
e36f2bb1fb
212 changed files with 5160 additions and 5160 deletions
|
@ -17,7 +17,7 @@ require_once 'include/text.php';
|
|||
*/
|
||||
class Thread extends BaseObject
|
||||
{
|
||||
private $parents = array();
|
||||
private $parents = [];
|
||||
private $mode = null;
|
||||
private $writable = false;
|
||||
private $profile_owner = 0;
|
||||
|
@ -172,7 +172,7 @@ class Thread extends BaseObject
|
|||
public function getTemplateData($conv_responses)
|
||||
{
|
||||
$a = self::getApp();
|
||||
$result = array();
|
||||
$result = [];
|
||||
$i = 0;
|
||||
|
||||
foreach ($this->parents as $item) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue