Skip to content

Commit

Permalink
fixed some bugs from scrutinizer & add styleCi flag
Browse files Browse the repository at this point in the history
  • Loading branch information
salkhwlani committed Oct 4, 2017
1 parent c9c5007 commit 05617b6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE.md)
[![Build Status][ico-travis]][link-travis]
[![StyleCI][ico-styleCi]][link-styleCi]
[![Coverage Status][ico-scrutinizer]][link-scrutinizer]
[![Quality Score][ico-code-quality]][link-code-quality]
[![Total Downloads][ico-downloads]][link-downloads]
Expand Down Expand Up @@ -167,11 +168,13 @@ The MIT License (MIT). Please see [License File](LICENSE.md) for more informatio
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/yemenifree/laravel-arabic-numbers-middleware.svg?style=flat-square
[ico-code-quality]: https://img.shields.io/scrutinizer/g/yemenifree/laravel-arabic-numbers-middleware.svg?style=flat-square
[ico-downloads]: https://img.shields.io/packagist/dt/yemenifree/laravel-arabic-numbers-middleware.svg?style=flat-square
[ico-styleCi]: https://styleci.io/repos/105763061/shield?branch=master&style=flat

[link-packagist]: https://packagist.org/packages/yemenifree/laravel-arabic-numbers-middleware
[link-travis]: https://travis-ci.org/yemenifree/laravel-arabic-numbers-middleware
[link-scrutinizer]: https://scrutinizer-ci.com/g/yemenifree/laravel-arabic-numbers-middleware/code-structure
[link-code-quality]: https://scrutinizer-ci.com/g/yemenifree/laravel-arabic-numbers-middleware
[link-downloads]: https://packagist.org/packages/yemenifree/laravel-arabic-numbers-middleware
[link-author]: https://github.com/yemenifree
[link-contributors]: ../../contributors
[link-contributors]: ../../contributors
[link-styleCi]: https://styleci.io/repos/105763061
2 changes: 1 addition & 1 deletion src/Middleware/BaseNumbersMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ abstract class BaseNumbersMiddleware extends TransformsRequest
/** @var array */
protected $easternNumbers = ['٠', '١', '٢', '٣', '٤', '٥', '٦', '٧', '٨', '٩'];

/** @var array */
/** @var array|mixed */
protected $config;

/**
Expand Down
4 changes: 2 additions & 2 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ class ServiceProvider extends BaseServiceProvider
/**
* auto append middleware
*
* @var array
* @var Collection
*/
protected $auto_middleware = [];
protected $auto_middleware;


/**
Expand Down

0 comments on commit 05617b6

Please sign in to comment.