Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot
2023-10-10 04:42:46 +00:00
parent 389c6d3751
commit d42e758c21
31 changed files with 991 additions and 1000 deletions

View File

@@ -1,6 +1,7 @@
<?php
return[
'logs'=> 'مؤلف',
'system_logs '=>'سجلات النظام',
'logs' => 'مؤلف',
'system_logs '=> 'سجلات النظام',
];

View File

@@ -1,7 +1,7 @@
<?php
return[
'storage' =>'تخزين',
'storage' => 'تخزين',
'root' => 'جذر',
'system_logs' => 'سجلات النظام',
'default' => 'الافتراضي',

View File

@@ -315,9 +315,9 @@ class FilterControllerOld extends Controller
/**
*@category function to format and return user tickets
*
*@param string $segment
* @param string $segment
*
*@return builder
* @return builder
*/
public function formatUserTickets($segment)
{

View File

@@ -69,7 +69,6 @@ class OrganizationController extends Controller
*/
public function org_list()
{
$modalTitle = __('lang.your_translation_key_here');
// chumper datable package call to display Advance datatable
return \Datatable::collection(Organization::all())

View File

@@ -2321,7 +2321,7 @@ class TicketController extends Controller
*
*@param null
*
*@return string //script to load tooltip data
* @return string //script to load tooltip data
*/
public static function tooltip($ticketid)
{
@@ -2672,7 +2672,7 @@ class TicketController extends Controller
*
*@param srting array $t_id, $p_id
*
*@return null
* @return null
*/
public function sendMergeNotification($p_id, $t_id)
{

View File

@@ -125,9 +125,9 @@ class GuestController extends Controller
/**
*@category fucntion to check if mobile number is unqique or not
*
*@param string $mobile
* @param string $mobile
*
*@return bool true(if mobile exists in users table)/false (if mobile does not exist in user table)
* @return bool true(if mobile exists in users table)/false (if mobile does not exist in user table)
*/
public function checkMobile($mobile)
{

View File

@@ -327,9 +327,9 @@ class UnAuthController extends Controller
/**
*@category function to change system's language
*
*@param string $lang //desired language's iso code
* @param string $lang //desired language's iso code
*
*@return response
* @return response
*/
public static function changeLanguage($lang)
{

View File

@@ -17,7 +17,7 @@ use Mail;
class PhpMailController extends Controller
{
/**
*@var variable to instantiate common mailer class
* @var variable to instantiate common mailer class
*/
public function __construct()
{

View File

@@ -53,11 +53,11 @@ class AgentRequest extends Request
/**
*@category Funcion to set rule if send opt is enabled
*
*@param object $settings (instance of Model common settings)
* @param object $settings (instance of Model common settings)
*
*@author manish.verma@ladybirdweb.com
*
*@return array|int
* @return array|int
*/
public function check($settings)
{

View File

@@ -119,11 +119,11 @@ class ClientRequest extends Request
/**
*@category Funcion to set rule if send opt is enabled
*
*@param object $settings (instance of Model common settings)
* @param object $settings (instance of Model common settings)
*
*@author manish.verma@ladybirdweb.com
*
*@return array|int
* @return array|int
*/
public function check($settings)
{

View File

@@ -58,11 +58,11 @@ class CreateTicketRequest extends Request
/**
*@category Funcion to set rule if send opt is enabled
*
*@param object $settings (instance of Model common settings)
* @param object $settings (instance of Model common settings)
*
*@author manish.verma@ladybirdweb.com
*
*@return array|int
* @return array|int
*/
public function check($settings)
{
@@ -102,7 +102,7 @@ class CreateTicketRequest extends Request
*
*@param null
*
*@return array
* @return array
*/
public function onlyMobleRequired()
{

View File

@@ -37,7 +37,7 @@ class TaskRequest extends Request
{
return [
'fetching-commands.required_if' => trans('lang.Please_choose_your_Email_Fetching_timing'),
'notification-commands.required_if' =>trans('lang.Please_choose_your_ Email_ Notification_timing'),
'notification-commands.required_if' => trans('lang.Please_choose_your_ Email_ Notification_timing'),
'work-commands.required_if' => trans('lang.Please_choose_your_Auto-close_Workflow_timing'),
'workflow-dailyAt.required_if' => 'Please enter the time for Auto-close Workflow timing',
'notification-dailyAt.required_if' => 'Please enter the time for Email Notification timing',

View File

@@ -38,7 +38,7 @@ class ProfileRequest extends Request
/**
*Check the mobile number is unique or not.
*
*@return string
* @return string
*/
public function checkMobile()
{

View File

@@ -45,11 +45,11 @@ class RegisterRequest extends Request
/**
*@category Funcion to set rule if send opt is enabled
*
*@param object $settings (instance of Model common settings)
* @param object $settings (instance of Model common settings)
*
*@author manish.verma@ladybirdweb.com
*
*@return array|int
* @return array|int
*/
public function check($settings)
{

View File

@@ -45,11 +45,11 @@ class Sys_userRequest extends Request
/**
*@category Funcion to set rule if send opt is enabled
*
*@param object $settings (instance of Model common settings)
* @param object $settings (instance of Model common settings)
*
*@author manish.verma@ladybirdweb.com
*
*@return array|int
* @return array|int
*/
public function check($settings)
{
@@ -83,7 +83,7 @@ class Sys_userRequest extends Request
*
*@param null
*
*@return array
* @return array
*/
public function onlyMobleRequired()
{

View File

@@ -1,4 +1,5 @@
<?php
return [
'sEmptyTable' => 'لا تتوفر بيانات في الجدول',
'sInfo' => 'عرض _START_ إلى _END_ من إجمالي _TOTAL_ إدخال',

File diff suppressed because it is too large Load Diff

View File

@@ -1676,7 +1676,7 @@ return [
'lockout_period:' => 'Lockout Period:',
'Lockout_Message:' => 'Lockout Message:',
'please_enter_valid_no_days' => 'Please enter valid no of days',
'author' =>'Author',
'system_logs' => 'System logs'
'author' => 'Author',
'system_logs' => 'System logs',
];

View File

@@ -807,5 +807,4 @@ Route::middleware('web')->group(function () {
Route::get('ticket/swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage'])->name('switch-user-lang');
Route::get('social/swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage'])->name('switch-user-lang');
Route::get('language/swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage'])->name('switch-user-lang');
});