Skip to content

Commit

Permalink
Prepare master branch.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Jul 25, 2019
1 parent eae1646 commit 349d569
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Laravel | Widget
5.6.x | 3.6.x
5.7.x | 3.7.x
5.8.x | 3.8.x
5.9.x | 3.9.x
6.x | 4.x

## Installation

Expand All @@ -38,7 +38,7 @@ To install through composer, simply put the following in your `composer.json` fi
```json
{
"require": {
"orchestra/widget": "^3.5"
"orchestra/widget": "^4.0"
}
}
```
Expand All @@ -49,7 +49,7 @@ And then run `composer install` from the terminal.

Above installation can also be simplify by using the following command:

composer require "orchestra/widget=^3.5"
composer require "orchestra/widget=^4.0"

## Configuration

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
},
"require": {
"php": ">=7.2",
"orchestra/support": "~3.10.0"
"orchestra/support": "^4.0"
},
"require-dev": {
"mockery/mockery": "^1.2",
"orchestra/testbench": "~3.10.0"
"orchestra/testbench": "^4.0"
},
"extra": {
"branch-alias": {
"dev-master": "3.10-dev"
"dev-master": "4.0-dev"
}
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion src/WidgetServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class WidgetServiceProvider extends ServiceProvider implements DeferrableProvide
*/
public function register()
{
$this->app->singleton('orchestra.widget', function ($app) {
$this->app->singleton('orchestra.widget', static function ($app) {
return new WidgetManager($app);
});
}
Expand Down

0 comments on commit 349d569

Please sign in to comment.