This commit is contained in:
apuc committed 2024-05-24 15:27:07 +03:00
1 parent 17df2ce6a9
commit fc1da2c238
643 files changed
+110185 -231

No files matched your search

@@ -14,10 +14,10 @@ class ProductSearch extends Product
/**
* {@inheritdoc}
*/
public function rules()
public function rules(): array
{
return [
[['id', 'company_id', 'type', 'price', 'status'], 'integer'],
[['id', 'company_id', 'type', 'price', 'status', 'product_category_id'], 'integer'],
[['title', 'article'], 'safe'],
];
}