Skip to content

Commit

Permalink
Remove temporary variable
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkomarev committed Jul 10, 2017
1 parent d1d41fe commit 8bedba1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Providers/LikeableServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ public function register()
*/
protected function bootObservers()
{
$class = $this->app->make(LikeContract::class);
$class::observe(new LikeObserver());
$this->app->make(LikeContract::class)->observe(new LikeObserver());
}
}

0 comments on commit 8bedba1

Please sign in to comment.