Skip to content

Commit

Permalink
merge to dev: 完善文档 + 优化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
yansongda committed Aug 20, 2017
2 parents 338bf5f + 72d011f commit f10675e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<h1 align="center">Pay</h1>

<p align="center">
<a href="https://scrutinizer-ci.com/g/yansongda/laravel-pay/?branch=master"><img src="https://scrutinizer-ci.com/g/yansongda/laravel-pay/badges/quality-score.png?b=master" alt="Scrutinizer Code Quality"></a>
<a href="https://scrutinizer-ci.com/g/yansongda/laravel-pay/build-status/master"><img src="https://scrutinizer-ci.com/g/yansongda/laravel-pay/badges/build.png?b=master" alt="Build Status"></a>
<a href="https://packagist.org/packages/yansongda/laravel-pay"><img src="https://poser.pugx.org/yansongda/laravel-pay/v/stable" alt="Latest Stable Version"></a>
<a href="https://packagist.org/packages/yansongda/laravel-pay"><img src="https://poser.pugx.org/yansongda/laravel-pay/downloads" alt="Total Downloads"></a>
<a href="https://packagist.org/packages/yansongda/laravel-pay"><img src="https://poser.pugx.org/yansongda/laravel-pay/v/unstable" alt="Latest Unstable Version"></a>
Expand Down
2 changes: 1 addition & 1 deletion src/PayServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function boot()
*/
public function register()
{
$this->mergeConfigFrom(dirname(__DIR__).'/config/pay.php', 'pay');
$this->mergeConfigFrom(dirname(__DIR__) . '/config/pay.php', 'pay');

$this->app->singleton(Pay::class, function ($app) {
return new Pay(config('pay'));
Expand Down

0 comments on commit f10675e

Please sign in to comment.