Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
laravel-adminpanel
Commits
3b6f273c
Unverified
Commit
3b6f273c
authored
Dec 11, 2017
by
Viral Solani
Committed by
GitHub
Dec 11, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #82 from viralsolani/analysis-z9eb5a
Apply fixes from StyleCI
parents
0e4788e3
28b704be
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
SettingsController.php
app/Http/Controllers/Backend/Settings/SettingsController.php
+2
-2
UpdateSettingsRequest.php
app/Http/Requests/Backend/Settings/UpdateSettingsRequest.php
+1
-2
SettingsRepository.php
app/Repositories/Backend/Settings/SettingsRepository.php
+0
-1
No files found.
app/Http/Controllers/Backend/Settings/SettingsController.php
View file @
3b6f273c
app/Http/Requests/Backend/Settings/UpdateSettingsRequest.php
View file @
3b6f273c
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
namespace
App\Http\Requests\Backend\Settings
;
namespace
App\Http\Requests\Backend\Settings
;
use
App\Http\Requests\Request
;
use
App\Http\Requests\Request
;
use
App\Models\Settings\Setting
;
/**
/**
* Class UpdateSettingsRequest.
* Class UpdateSettingsRequest.
...
@@ -42,7 +41,7 @@ class UpdateSettingsRequest extends Request
...
@@ -42,7 +41,7 @@ class UpdateSettingsRequest extends Request
{
{
return
[
return
[
'logo.dimensions'
=>
'Invalid logo - should be minimum 226*48'
,
'logo.dimensions'
=>
'Invalid logo - should be minimum 226*48'
,
'favicon.dimensions'
=>
'Invalid favicon - should be 16*16'
'favicon.dimensions'
=>
'Invalid favicon - should be 16*16'
,
];
];
}
}
}
}
app/Repositories/Backend/Settings/SettingsRepository.php
View file @
3b6f273c
...
@@ -5,7 +5,6 @@ namespace App\Repositories\Backend\Settings;
...
@@ -5,7 +5,6 @@ namespace App\Repositories\Backend\Settings;
use
App\Exceptions\GeneralException
;
use
App\Exceptions\GeneralException
;
use
App\Models\Settings\Setting
;
use
App\Models\Settings\Setting
;
use
App\Repositories\BaseRepository
;
use
App\Repositories\BaseRepository
;
use
DB
;
/**
/**
* Class SettingsRepository.
* Class SettingsRepository.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment