Skip to content

Commit

Permalink
Eliminate alias usage
Browse files Browse the repository at this point in the history
  • Loading branch information
atanas-dev committed Apr 20, 2019
1 parent 0c72761 commit 2e8532c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Theme/Theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use WPEmergeTheme\Assets\AssetsServiceProvider;
use WPEmergeTheme\Avatar\AvatarServiceProvider;
use WPEmergeTheme\Config\ConfigServiceProvider;
use WPEmergeTheme\Facades\Assets;
use WPEmergeTheme\Image\ImageServiceProvider;
use WPEmergeTheme\Sidebar\SidebarServiceProvider;

Expand Down Expand Up @@ -108,10 +109,10 @@ public function partial( $partial, $child = '', $context = [] ) {
/**
* Alias for WPEmergeTheme\Assets\Assets::getThemeUri().
*
* @see WPEmergeTheme\Assets\Assets::getThemeUri
* @see \WPEmergeTheme\Assets\Assets::getThemeUri
* @return string
*/
public function uri() {
return \Theme\Assets::getThemeUri();
return Assets::getThemeUri();
}
}

0 comments on commit 2e8532c

Please sign in to comment.