Skip to content

Commit

Permalink
Release version 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkla committed Feb 11, 2018
1 parent b253e05 commit b289c50
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 17 deletions.
16 changes: 12 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
# CHANGELOG

## 4.0.0 (released 2018-02-11)

- Added Laravel 5.6 support
- Added void return types
- Fixed config when inside phar
- Removed Laravel 5.5 support
- Removed PHP 7.0 support

## 3.3.0 (released 2017-09-02)

- Removed laravel 5.3 and 5.4 support
- Removed Laravel 5.3 and 5.4 support

## 3.2.0 (released 2017-08-07)

- Added laravel 5.5 support
- Added Laravel 5.5 support

## 3.1.0 (released 2017-01-01)

- Added laravel 5.4 support
- Added Laravel 5.4 support
- Dropped php 5.6 support

## 3.0.0 (released 2016-11-15)
Expand All @@ -23,7 +31,7 @@

## 2.3.0 (released 2016-05-05)

- Added laravel 5.3 support
- Added Laravel 5.3 support

## 2.2.2 (released 2016-01-30)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ App::make('Foo')->bar();

## Documentation

There are other classes in this package that are not documented here. This is because the package is a Laravel wrapper of [Ivan Akimov's](https://github.com/ivanakimov) [Hashids package](https://github.com/ivanakimov/hashids.php).
There are other classes in this package that are not documented here. This is because the package is a Laravel wrapper of [Ivan Akimov's](https://github.com/ivanakimov) [Hashids package](https://github.com/ivanakimov/hashids.php#readme).

## License

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
],
"require": {
"php": "^7.1.3",
"graham-campbell/manager": "^3.0",
"graham-campbell/manager": "^4.0",
"hashids/hashids": "^2.0",
"illuminate/contracts": "5.5.*",
"illuminate/support": "5.5.*"
"illuminate/contracts": "5.6.*",
"illuminate/support": "5.6.*"
},
"require-dev": {
"graham-campbell/analyzer": "^2.0",
"graham-campbell/testbench": "^5.0",
"mockery/mockery": "^1.0",
"phpunit/phpunit": "^6.5"
"phpunit/phpunit": "^7.0"
},
"autoload": {
"psr-4": {
Expand All @@ -38,7 +38,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "3.4-dev"
"dev-master": "4.0-dev"
},
"laravel": {
"providers": [
Expand Down
2 changes: 1 addition & 1 deletion src/HashidsManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class HashidsManager extends AbstractManager
*
* @var \Vinkla\Hashids\HashidsFactory
*/
private $factory;
protected $factory;

/**
* Create a new Hashids manager instance.
Expand Down
12 changes: 6 additions & 6 deletions src/HashidsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class HashidsServiceProvider extends ServiceProvider
*
* @return void
*/
public function boot()
public function boot(): void
{
$this->setupConfig();
}
Expand All @@ -41,7 +41,7 @@ public function boot()
*
* @return void
*/
protected function setupConfig()
protected function setupConfig(): void
{
$source = realpath($raw = __DIR__.'/../config/hashids.php') ?: $raw;

Expand All @@ -59,7 +59,7 @@ protected function setupConfig()
*
* @return void
*/
public function register()
public function register(): void
{
$this->registerFactory();
$this->registerManager();
Expand All @@ -71,7 +71,7 @@ public function register()
*
* @return void
*/
protected function registerFactory()
protected function registerFactory(): void
{
$this->app->singleton('hashids.factory', function () {
return new HashidsFactory();
Expand All @@ -85,7 +85,7 @@ protected function registerFactory()
*
* @return void
*/
protected function registerManager()
protected function registerManager(): void
{
$this->app->singleton('hashids', function (Container $app) {
$config = $app['config'];
Expand All @@ -102,7 +102,7 @@ protected function registerManager()
*
* @return void
*/
protected function registerBindings()
protected function registerBindings(): void
{
$this->app->bind('hashids.connection', function (Container $app) {
$manager = $app['hashids'];
Expand Down

0 comments on commit b289c50

Please sign in to comment.