mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 14:46:19 +08:00 
			
		
		
		
	fixed constructors chain in base Application
This commit is contained in:
		@ -52,7 +52,7 @@ use yii\base\Exception;
 | 
				
			|||||||
 * @property CCache $cache Returns the cache component.
 | 
					 * @property CCache $cache Returns the cache component.
 | 
				
			||||||
 * @property CPhpMessageSource $coreMessages Returns the core message translations.
 | 
					 * @property CPhpMessageSource $coreMessages Returns the core message translations.
 | 
				
			||||||
 * @property CDateFormatter $dateFormatter Returns the locale-dependent date formatter.
 | 
					 * @property CDateFormatter $dateFormatter Returns the locale-dependent date formatter.
 | 
				
			||||||
 * @property CDbConnection $db Returns the database connection component.
 | 
					 * @property \yii\db\dao\Connection $db Returns the database connection component.
 | 
				
			||||||
 * @property CErrorHandler $errorHandler Returns the error handler component.
 | 
					 * @property CErrorHandler $errorHandler Returns the error handler component.
 | 
				
			||||||
 * @property string $extensionPath Returns the root directory that holds all third-party extensions.
 | 
					 * @property string $extensionPath Returns the root directory that holds all third-party extensions.
 | 
				
			||||||
 * @property string $id Returns the unique identifier for the application.
 | 
					 * @property string $id Returns the unique identifier for the application.
 | 
				
			||||||
@ -130,7 +130,7 @@ class Application extends Module
 | 
				
			|||||||
		$this->setBasePath($basePath);
 | 
							$this->setBasePath($basePath);
 | 
				
			||||||
		$this->registerDefaultAliases();
 | 
							$this->registerDefaultAliases();
 | 
				
			||||||
		$this->registerCoreComponents();
 | 
							$this->registerCoreComponents();
 | 
				
			||||||
		parent::__construct($config);
 | 
							parent::__construct($id, $this, $config);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/**
 | 
						/**
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user