Skip to content

Commit

Permalink
Annotate Psr\Log\LoggerInterface as provided by LogServiceProvider.
Browse files Browse the repository at this point in the history
The Psr\Log\LoggerInterface was added to app->bind but not added to the
provides array in the LogServiceProvider.

See: itsgoingd/clockwork#67
  • Loading branch information
spencerdeinum committed Oct 3, 2014
1 parent 3fe430a commit 4f82c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Log/LogServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function register()
*/
public function provides()
{
return array('log');
return array('log', 'Psr\Log\LoggerInterface');
}

}

0 comments on commit 4f82c22

Please sign in to comment.