Skip to content

Commit

Permalink
[5.7] Changed PhpDoc for $app in ServiceProvider (#26063)
Browse files Browse the repository at this point in the history
Fixed autocomplete for cases when someone developed a packages

Fixed ticket: laravel/framework#26060
  • Loading branch information
TBlindaruk authored and taylorotwell committed Oct 10, 2018
1 parent ea95697 commit f2b58d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ abstract class ServiceProvider
/**
* The application instance.
*
* @var \Illuminate\Foundation\Application
* @var \Illuminate\Contracts\Foundation\Application|\Illuminate\Foundation\Application
*/
protected $app;

Expand Down Expand Up @@ -37,7 +37,7 @@ abstract class ServiceProvider
/**
* Create a new service provider instance.
*
* @param \Illuminate\Foundation\Application $app
* @param \Illuminate\Contracts\Foundation\Application|\Illuminate\Foundation\Application $app
* @return void
*/
public function __construct($app)
Expand Down

0 comments on commit f2b58d1

Please sign in to comment.