mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-10-31 18:47:33 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			619 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			619 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)
 | |
|     {
 | |
|     }
 | |
| 
 | |
|     public function actionMixedParameter(mixed $foo)
 | |
|     {
 | |
|     }
 | |
| }
 | 
