Files
yii2/tests/framework/web/FakePhp7Controller.php
Chris Reichel 848a90dea8 array union in controllers
! fix issue when handling parameter with string type, add according test
2025-05-19 12:21:45 +02:00

28 lines
553 B
PHP

<?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yiiunit\framework\web;
use yii\web\Controller;
/**
* @author Brandon Kelly <branodn@craftcms.com>
* @since 2.0.31
*/
class FakePhp7Controller extends Controller
{
public $enableCsrfValidation = false;
public function actionAksi1(int $foo, ?float $bar, bool $true, bool $false, string $string)
{
}
public function actionStringy(?string $foo = null)
{
}
}