Rodion
Rodion
I have tested it and find that rows are not excluded if they have empty fields. For example: file1.csv ``` id,name 1,test1 2,test2 3, ``` file2.csv ``` id,name 1,test1 2,test2updated...
Hi @samsonasik, thanks for the reply. For example, in [this case](https://getrector.org/demo/699aa2d0-e94e-407f-9865-711280dd0146), there is a generic type in the return type hint (in this case string). This makes me think that...
Here is the case where you can see that phpstan knows the exact type. https://phpstan.org/r/0efd6b5f-cb60-41f5-8254-62628915f41d
> `ReturnTypeDeclarationRector` purpose is to not add `@return` docblock, so the `@return` won't be added, different new rule for it may be needed. But in [this case](https://getrector.org/demo/699aa2d0-e94e-407f-9865-711280dd0146), `@return` docblock is...
I see, I will try to implement the new rule using the `AddArrayReturnDocTypeRector` example.
yii\base\ErrorException: Array to string conversion in /app/vendor/yiisoft/yii2/helpers/BaseHtml.php:556 Stack trace: #0 /app/vendor/yiisoft/yii2/helpers/BaseHtml.php(1336): yii\helpers\BaseHtml::activeInput() #1 /app/vendor/yiisoft/yii2/widgets/ActiveField.php(395): yii\helpers\BaseHtml::activeTextInput() #2 /app/frontend/themes/dartc/views/test/test.php(7): yii\widgets\ActiveField->textInput() #3 /app/vendor/yiisoft/yii2/base/View.php(330): frontend\components\View->unknown() #4 /app/vendor/yiisoft/yii2/base/View.php(250): frontend\components\View->renderPhpFile() #5 /app/vendor/yiisoft/yii2/base/View.php(152): frontend\components\View->renderFile() #6 /app/vendor/yiisoft/yii2/base/Controller.php(381): frontend\components\View->render()...
The problem in request /test/test/?TestForm[email]**[]**[email protected]
> If you get disturbed with error notifications, I think you should be disturbed with a lot of 404 notifications as well 404 notifications can be routed to file, for...
@samdark But how to render the field itself, if there is an array there?
@Kolyunya The configuration is OK. Look closely. Validation is fine. Problem in rendering field that contains an array