api
This commit is contained in:
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'],
|
||||
];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user