Skip to content

Commit

Permalink
Just another typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sui-drmz committed Oct 6, 2021
1 parent f6d3280 commit 29605d4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Logger/LoggerServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function boot()

switch ($env) {

case 'developement':
case 'development':
$stream_handler = new StreamHandler($container->basePath($logs_path).'debug.log', Logger::DEBUG);
$container
->share('logger', Logger::class)
Expand All @@ -74,8 +74,6 @@ public function boot()
}

/**
* Register the twig functionality within the plugin.
*
* @return void
*/
public function register()
Expand All @@ -85,7 +83,7 @@ public function register()
/**
* When the plugin is booted, register a new macro.
*
* Adds the `twig()` method that returns an instance of the Twig\Environment class.
* Adds the `logger()` method that returns an instance of the Monolog\Logger class.
*
* @return void
*/
Expand Down

0 comments on commit 29605d4

Please sign in to comment.