Merge branch 'master' of github.com:akaunting/akaunting

This commit is contained in:
denisdulici 2020-02-27 09:54:29 +03:00
commit b65a6c6dd6
3 changed files with 9 additions and 3 deletions

View File

@ -23,6 +23,10 @@ class Widget extends FormRequest
*/
public function rules()
{
return [];
return [
'dashboard_id' => 'required|integer',
'name' => 'required|string',
'class' => 'required',
];
}
}

View File

@ -13,6 +13,7 @@
"type": "project",
"require": {
"php": "^7.2",
"ext-bcmath": "*",
"akaunting/firewall": "1.2.*",
"akaunting/language": "1.0.*",
"akaunting/menu": "1.0.*",

5
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "f3cd099f0849563142edd289998d8bd9",
"content-hash": "6215fc14abaa7d8b9299f201ffef54aa",
"packages": [
{
"name": "akaunting/firewall",
@ -8990,7 +8990,8 @@
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
"php": "^7.2"
"php": "^7.2",
"ext-bcmath": "*"
},
"platform-dev": []
}