Skip to content

Commit

Permalink
fix strpos error
Browse files Browse the repository at this point in the history
  • Loading branch information
TerrePorter committed Sep 15, 2020
1 parent 35be724 commit c8d9ffc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
File renamed without changes.
11 changes: 3 additions & 8 deletions src/StringBladeServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,15 @@ class StringBladeServiceProvider extends ViewServiceProvider implements Deferrab
*/
public function register()
{

// include the package config
$this->mergeConfigFrom(
__DIR__.'/../config/blade.php', 'blade'
);

// load the alias (handled by the Laravel autoloader)
//$this->app->alias('StringBlade', 'Wpb\String_Blade_Compiler\Facades\StringBlade');

$this->registerEngineResolver();

$this->registerViewFinder();

$this->registerFactory();
$this->registerViewFinder();
$this->registerBladeCompiler();
$this->registerEngineResolver();
}

/**
Expand Down

0 comments on commit c8d9ffc

Please sign in to comment.