modules/Faq/ConfigTemplate.php
Call to method naturalNumber
from undeclared class \App\Validator
(Did you mean class \Tests\App\Validator) Open
Open
return $arg && \App\Validator::naturalNumber($arg);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$arg = func_get_arg(0);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'validation' => function () {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$arg = func_get_arg(0);
- Exclude checks
Line exceeds 120 characters; contains 150 characters Open
Open
'description' => 'Default module view. Values: KnowledgeBase, List, ListPreview or DashBoard, refresh menu files after you change this value',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'knowledgeBaseArticleLimit' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Default module view. Values: KnowledgeBase, List, ListPreview or DashBoard, refresh menu files after you change this value',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return $arg && \App\Validator::naturalNumber($arg);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
],
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
],
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => 50,
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => 'KnowledgeBase',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'validation' => function () {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return 'List' === $arg || 'ListPreview' === $arg || 'DashBoard' === $arg || 'KnowledgeBase' === $arg;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Article limit in the knowledge base window',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'defaultViewName' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks