yii2\extensions\phpstan\type
API reference › PHPStan › type
Classes
Section titled “Classes”| Class | Summary |
|---|---|
ActiveQueryDynamicMethodReturnTypeExtension final | Infers the row array shape of ActiveQuery::asArray() queries from the model’s class-level @property tags. |
ActiveRecordGetAttributeDynamicMethodReturnTypeExtension final | Infers return types for ActiveRecord::getAttribute() calls in PHPStan analysis. |
ActiveRecordQueryDynamicStaticMethodReturnTypeExtension final | Binds the rows of the ActiveQuery returned by an ActiveRecord static method to the called model. |
ApplicationTypeNodeResolverExtension final | Resolves the PHPDoc types of Yii::$app and Module::$params declared by the stub shipped with this extension. |
ContainerDynamicMethodReturnTypeExtension final | Resolves Container::get() calls for service IDs defined in the Yii configuration to their configured class. |
HeaderCollectionDynamicMethodReturnTypeExtension final | Removes null from the HeaderCollection::get() return type when the $default argument cannot be null. |
LoggerMessagesExpressionTypeResolverExtension final | Infers the documented tuple shape for Yii logger and log-target message buffers. |
ServiceLocatorDynamicMethodReturnTypeExtension final | Resolves ServiceLocator::get() calls for component IDs configured in the Yii application to their class. |
TargetFilterMessagesDynamicStaticMethodReturnTypeExtension final | Preserves Yii log-message key and value types through Target::filterMessages() calls. |