Fix codestyle in build and tests (#20586)

This commit is contained in:
Maksim Spirkov
2025-10-10 23:04:09 +03:00
committed by GitHub
parent 8005113753
commit 909396074e
361 changed files with 1422 additions and 790 deletions

View File

@@ -1,4 +1,5 @@
<?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
@@ -735,7 +736,8 @@ class ArrayHelperTest extends TestCase
],
], $result);
$result = ArrayHelper::map($array,
$result = ArrayHelper::map(
$array,
static function (array $group) {
return $group['id'] . $group['name'];
},
@@ -750,7 +752,8 @@ class ArrayHelperTest extends TestCase
'345ccc' => 'cccy',
], $result);
$result = ArrayHelper::map($array,
$result = ArrayHelper::map(
$array,
static function (array $group) {
return $group['id'] . $group['name'];
},
@@ -1742,6 +1745,7 @@ class Post2 extends BaseObject
public $id = 123;
public $content = 'test';
private $secret = 's';
public function getSecret()
{
return $this->secret;