Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
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
Platform
Commits
f06b6a2d
Unverified
Commit
f06b6a2d
authored
Aug 01, 2017
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move AsgardCms class to the foundation namespace
parent
8f13ea32
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
ApplicationVersionViewComposer.php
Modules/Core/Composers/ApplicationVersionViewComposer.php
+1
-1
AsgardCms.php
Modules/Core/Foundation/AsgardCms.php
+1
-1
helpers.php
Modules/Workshop/helpers.php
+1
-1
No files found.
Modules/Core/Composers/ApplicationVersionViewComposer.php
View file @
f06b6a2d
...
...
@@ -3,7 +3,7 @@
namespace
Modules\Core\Composers
;
use
Illuminate\Contracts\View\View
;
use
Modules\Core\AsgardCms
;
use
Modules\Core\
Foundation\
AsgardCms
;
class
ApplicationVersionViewComposer
{
...
...
Modules/Core/AsgardCms.php
→
Modules/Core/
Foundation/
AsgardCms.php
View file @
f06b6a2d
<?php
namespace
Modules\Core
;
namespace
Modules\Core
\Foundation
;
class
AsgardCms
{
...
...
Modules/Workshop/helpers.php
View file @
f06b6a2d
...
...
@@ -4,7 +4,7 @@ if (! function_exists('module_version')) {
function
module_version
(
$module
)
{
if
(
is_core_module
(
$module
->
name
)
===
true
)
{
return
\Modules\Core\AsgardCms
::
VERSION
;
return
\Modules\Core\
Foundation\
AsgardCms
::
VERSION
;
}
return
$module
->
version
;
}
...
...
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