mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 21:41:19 +08:00
Add void return to method in tests. (#20602)
This commit is contained in:
@ -55,7 +55,7 @@ abstract class ColumnSchemaBuilderTest extends DatabaseTestCase
|
||||
* @param int|null $length
|
||||
* @param mixed $calls
|
||||
*/
|
||||
public function testCustomTypes($expected, $type, $length, $calls)
|
||||
public function testCustomTypes($expected, $type, $length, $calls): void
|
||||
{
|
||||
$this->checkBuildString($expected, $type, $length, $calls);
|
||||
}
|
||||
@ -66,7 +66,7 @@ abstract class ColumnSchemaBuilderTest extends DatabaseTestCase
|
||||
* @param int|null $length
|
||||
* @param array $calls
|
||||
*/
|
||||
public function checkBuildString($expected, $type, $length, $calls)
|
||||
public function checkBuildString($expected, $type, $length, $calls): void
|
||||
{
|
||||
$builder = $this->getColumnSchemaBuilder($type, $length);
|
||||
foreach ($calls as $call) {
|
||||
|
||||
Reference in New Issue
Block a user